Package org.apache.kafka.clients.admin
Class AlterPartitionReassignmentsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.AlterPartitionReassignmentsResult
-
@Evolving public class AlterPartitionReassignmentsResult extends Object
The result ofAdmin.alterPartitionReassignments(Map, AlterPartitionReassignmentsOptions)
. The API of this class is evolving. SeeAdminClient
for details.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<Void>
all()
Return a future which succeeds only if all the reassignments were successfully initiated.Map<TopicPartition,KafkaFuture<Void>>
values()
Return a map from partitions to futures which can be used to check the status of the reassignment.
-
-
-
Method Detail
-
values
public Map<TopicPartition,KafkaFuture<Void>> values()
Return a map from partitions to futures which can be used to check the status of the reassignment. Possible error codes: INVALID_REPLICA_ASSIGNMENT (39) - if the specified replica assignment was not valid -- for example, if it included negative numbers, repeated numbers, or specified a broker ID that the controller was not aware of. NO_REASSIGNMENT_IN_PROGRESS (85) - if the request wants to cancel reassignments but none exist UNKNOWN (-1)
-
all
public KafkaFuture<Void> all()
Return a future which succeeds only if all the reassignments were successfully initiated.
-
-