redpanda
redpanda copied to clipboard
rpk: provide an interface to move partitions between nodes
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.
This will be easy to support once redpanda fully supports the alter partition assignments API.
@twmb is there a separate ticket for implementing the API itself?
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)
Thanks. should there be 2 tickets and an epic (1 for API, 1 for RPK), or just use this one for both @twmb ?
Two ticket would be good, the rpk one tagged with area/rpk and dependent on the first ticket.
Hey this actually exists now! Thanks @daisukebe !
@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
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.
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
rpk cluster partitions move
is the thing. I'm happy to help to documenting it.