-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpk: Enhance partition management commands #9205
Comments
@twmb @r-vasquez @jrkinley Alter the replica location of partition 1 in 'foo' topic to 2, 3, and 4
Cancel the ongoing reassignment
Alter the location from a JSON file
|
Another two syntax alternatives if we want to support multiple partitions to different replicas is
basically |
Thanks @twmb.
This makes sense as long as we adopt only one partition reassignment when not using
Yes and per my research I feel the command will become more powerful when using the Wdyt? |
Upon further discussion with @twmb offline, we're leaning toward this direction; where we use admin APIs entirely instead of Kafka API because the former is getting more powerful nowadays, hence insightful to users. Changes we're going to make at glance
Command details (priority in descending order)Show status of partition movement Command specs:
Cancel ongoing partition movements Command specs:
Move partition replicas Command specs:
Full command space at the end
|
Who is this for and what problem do they have today?
Revised description:
Add the following new commands under
rpk cluster partitions
,move
,move-status
,move-cancel
by take advantage of powerful admin APIs.Complete plan is in #9205 (comment)
Original description:
rpk should have commands that invoke the new API in 23.1,
AlterPartitionReassignments
andListPartitionReassigments
What are the success criteria?
Revised:
Implement
move
,move-status
, andmove-cancel
commandsOriginal:
rpk should be able to change replica assignments easily
Why is solving this problem impactful?
Improve supportability and troubleshooting
Additional notes
We may go in the same way as https://github.com/twmb/kcl/blob/master/commands/admin/partas/partition_assignments.go does?The text was updated successfully, but these errors were encountered: