Class CreatePartitionsResult

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      KafkaFuture<java.lang.Void> all()
      Return a future which succeeds if all the partition creations succeed.
      java.util.Map<java.lang.String,​KafkaFuture<java.lang.Void>> values()
      Return a map from topic names to futures, which can be used to check the status of individual partition creations.
      • Methods inherited from class java.lang.Object

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

      • CreatePartitionsResult

        public CreatePartitionsResult​(java.util.Map<java.lang.String,​KafkaFuture<java.lang.Void>> values)
    • Method Detail

      • values

        public java.util.Map<java.lang.String,​KafkaFuture<java.lang.Void>> values()
        Return a map from topic names to futures, which can be used to check the status of individual partition creations.
      • all

        public KafkaFuture<java.lang.Void> all()
        Return a future which succeeds if all the partition creations succeed.