Package org.apache.kafka.clients.admin
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 KafkaFuture<Void>
all()
Return a future which succeeds if all the partition creations succeed.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.
-
Method Details
-
values
Return a map from topic names to futures, which can be used to check the status of individual partition creations. -
all
Return a future which succeeds if all the partition creations succeed.
-