Package org.apache.kafka.clients.admin
Class CreatePartitionsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.CreatePartitionsResult
-
@Evolving public class CreatePartitionsResult extends java.lang.Object
The result of theAdmin.createPartitions(Map)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description CreatePartitionsResult(java.util.Map<java.lang.String,KafkaFuture<java.lang.Void>> values)
-
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.
-
-
-
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.
-
-