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 theAdmin.createPartitions(Map)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
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.
-
-