Class AlterPartitionReassignmentsResult

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      KafkaFuture<java.lang.Void> all()
      Return a future which succeeds only if all the reassignments were successfully initiated.
      java.util.Map<TopicPartition,​KafkaFuture<java.lang.Void>> values()
      Return a map from partitions to futures which can be used to check the status of the reassignment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • values

        public java.util.Map<TopicPartition,​KafkaFuture<java.lang.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<java.lang.Void> all()
        Return a future which succeeds only if all the reassignments were successfully initiated.