rpk cluster partitions move
Move partition replicas across nodes / cores.
This command changes replica assignments for given partitions. By default, it
assumes the kafka namespace, but you can specify an internal namespace using
the {namespace}/ prefix.
Examples
This section provides examples of how to use rpk cluster partitions move.
Basic replica movement
Move partition 0 to brokers 1,2,3 and partition 1 to brokers 2,3,4 for topic foo
rpk cluster partitions move foo --partition 0:1,2,3 -p 1:2,3,4
Flags
| Value | Type | Description |
|---|---|---|
|
string |
Output format ( |
|
stringArray |
Topic partitions to move and new replica locations ( |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |