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