THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- REQUEST_TIMED_OUT: if the request timed out.
- NOT_CONTROLLER: if the node we sent the request to is not the controller.
- UNKNOWN_TOPIC_OR_PARTITION
- CLUSTER_AUTHORIZATION_FAILED: if we didn't have sufficient permissions.
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.
If a partition doesn't exist, no response will be returned for it.
Code Block | ||
---|---|---|
| ||
{ "apiKey": 46, "type": "response", "name": "ListPartitionReassignmentsResponse", "validVersions": "0", "fields": [ { "name": "ThrottleTimeMs", "type": "int32", "versions": "0+", "about": "The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota." }, { "name": "ErrorCode", "type": "int16", "versions": "0+", "about": "The top-level error code, or 0 on success." }, { "name": "ErrorMessage", "type": "string", "versions": "0+", "nullableVersions": "0+", "about": "The top-level error message, or null on success." }, { "name": "Topics", "type": "[]OngoingTopicReassignment", "versions": "0+", "about": "The ongoing reassignments for each topic.", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "about": "The topic name." }, { "name": "Partitions", "type": "[]OngoingPartitionReassignment", "versions": "0+", "about": "The ongoing reassignments for each partition.", "fields": [ { "name": "PartitionIndex", "type": "int32", "versions": "0+", "about": "The index of the partition." }, { "name": "Replicas", "type": "[]int32", "versions": "0+", "about": "The current replica set." }, { "name": "AddingReplicas", "type": "[]int32", "versions": "0+", "about": "The set of replicas we are currently adding." }, { "name": "RemovingReplicas", "type": "[]int32", "versions": "0+", "about": "The set of replicas we are currently removing." } ]} ]} ] } |
...