redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

rpk: provide an interface to move partitions between nodes

Open rkruze opened this issue 3 years ago • 5 comments

In relationship to https://github.com/vectorizedio/redpanda/issues/703. We will need to have the ability to use rpk to move partitions between nodes.

rkruze avatar Apr 21 '21 12:04 rkruze

This will be easy to support once redpanda fully supports the alter partition assignments API.

twmb avatar Oct 05 '21 00:10 twmb

@twmb is there a separate ticket for implementing the API itself?

mattschumpert avatar Jun 08 '22 00:06 mattschumpert

I don't believe there is. The two APIs are AlterPartitionAssignments and ListPartitionReassignments, and it's possible we may also want to add our own more advanced & better admin API version (and still support the Kafka protocol, for ecosystem purposes)

twmb avatar Jun 11 '22 04:06 twmb

Thanks. should there be 2 tickets and an epic (1 for API, 1 for RPK), or just use this one for both @twmb ?

mattschumpert avatar Jun 21 '22 04:06 mattschumpert

Two ticket would be good, the rpk one tagged with area/rpk and dependent on the first ticket.

twmb avatar Jun 24 '22 16:06 twmb

Hey this actually exists now! Thanks @daisukebe !

twmb avatar Dec 05 '23 14:12 twmb

@twmb really? the RPK side of this is not documented , nor in the RPK reference as far as I see. if it exists we should file a doc ticket

mattschumpert avatar Dec 05 '23 18:12 mattschumpert

Docs currently scrape rpk help output before we release, so I somewhat expect this to be included in the next release. If we want more help besides that, yes we need a docs ticket.

twmb avatar Dec 05 '23 19:12 twmb

Understood, so will be in 23.3, not discovered to be already there.

@Feediver1 probably worth adding a section below this with 23.3 docs to indicate you can now do this via RPK

mattschumpert avatar Dec 05 '23 20:12 mattschumpert

rpk cluster partitions move is the thing. I'm happy to help to documenting it.

daisukebe avatar Dec 06 '23 03:12 daisukebe