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 Details

    • values

      public Map<String,​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 KafkaFuture<Void> all()
      Return a future which succeeds if all the partition creations succeed.