Class CreatePartitionsResult

java.lang.Object
org.apache.kafka.clients.admin.CreatePartitionsResult

@Evolving public class CreatePartitionsResult extends Object
The result of the Admin.createPartitions(Map) call. The API of this class is evolving, see Admin for details.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.kafka.common.KafkaFuture<Void>
    all()
    Return a future which succeeds if all the partition creations succeed.
    Map<String,org.apache.kafka.common.KafkaFuture<Void>>
    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
  • Method Details

    • values

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

      public org.apache.kafka.common.KafkaFuture<Void> all()
      Return a future which succeeds if all the partition creations succeed.