Package org.apache.kafka.clients.admin
Class DescribeTopicsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.DescribeTopicsResult
-
@Evolving public class DescribeTopicsResult extends java.lang.Object
The result of theAdmin.describeTopics(Collection)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description DescribeTopicsResult(java.util.Map<java.lang.String,KafkaFuture<TopicDescription>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.util.Map<java.lang.String,TopicDescription>>
all()
Return a future which succeeds only if all the topic descriptions succeed.java.util.Map<java.lang.String,KafkaFuture<TopicDescription>>
values()
Return a map from topic names to futures which can be used to check the status of individual topics.
-
-
-
Constructor Detail
-
DescribeTopicsResult
public DescribeTopicsResult(java.util.Map<java.lang.String,KafkaFuture<TopicDescription>> futures)
-
-
Method Detail
-
values
public java.util.Map<java.lang.String,KafkaFuture<TopicDescription>> values()
Return a map from topic names to futures which can be used to check the status of individual topics.
-
all
public KafkaFuture<java.util.Map<java.lang.String,TopicDescription>> all()
Return a future which succeeds only if all the topic descriptions succeed.
-
-