...
This operation requires ALTER on CLUSTER.
Note that even though we have TimeoutMs, this field will be ignored in the implementation for the time being. Its implementation is tracked in
Jira | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
{ "apiKey": 45, "type": "request", "name": "AlterPartitionReassignmentsRequest", "validVersions": "0", "fields": [ { "name": "TimeoutMs", "type": "int32", "versions": "0+", "default": "60000", "about": "The time in ms to wait for the request to complete." }, { "name": "Topics", "type": "[]ReassignableTopic", "versions": "0+", "about": "The topics to reassign.", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "about": "The topic name." }, { "name": "Partitions", "type": "[]ReassignablePartition", "versions": "0+", "about": "The partitions to reassign.", "fields": [ { "name": "PartitionIndex", "type": "int32", "versions": "0+", "about": "The partition index." }, { "name": "Replicas", "type": "[]int32", "versions": "0+", "nullableVersions": "0+", "default": "null", "about": "The replicas to place the partitions on, or null to cancel a pending reassignment for this partition." } ]} ]} ] } |
...
It requires DESCRIBE on CLUSTER.
Note that even though we have TimeoutMs, this field will be ignored in the implementation for the time being. Its implementation is tracked in
Jira | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
{ "apiKey": 46, "type": "request", "name": "ListPartitionReassignmentsRequest", "validVersions": "0", "fields": [ { "name": "TimeoutMs", "type": "int32", "versions": "0+", "default": "60000", "about": "The time in ms to wait for the request to complete." } { "name": "Topics", "type": "[]ListPartitionReassignmentsTopics", "versions": "0+", "nullableVersions": "0+", "about": "The topics to list partition reassignments for, or null to list everything.", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "entityType": "topicName", "about": "The topic name" }, { "name": "PartitionIndexes", "type": "[]int32", "versions": "0+", "about": "The partitions to list partition reassignments for" } ]} ] } |
...
If the top-level error code is set, no responses will be provided.
Note that even though we have a
If a partition is not going through a reassignment, its AddingReplicas and RemovingReplicas fields will simply be empty
...