Package org.apache.kafka.clients.admin
Class CreateTopicsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.CreateTopicsResult
-
@Evolving public class CreateTopicsResult extends java.lang.Object
The result ofAdminClient.createTopics(Collection)
. The API of this class is evolving, seeAdminClient
for details.
-
-
Constructor Summary
Constructors Constructor Description CreateTopicsResult(java.util.Map<java.lang.String,KafkaFuture<java.lang.Void>> futures)
-
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 topic 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 topic creations.
-
-
-
Constructor Detail
-
CreateTopicsResult
public CreateTopicsResult(java.util.Map<java.lang.String,KafkaFuture<java.lang.Void>> futures)
-
-
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 topic creations.
-
all
public KafkaFuture<java.lang.Void> all()
Return a future which succeeds if all the topic creations succeed.
-
-