Package org.apache.kafka.clients.admin
Class ListTopicsResult
java.lang.Object
org.apache.kafka.clients.admin.ListTopicsResult
The result of the
Admin.listTopics() call.
The API of this class is evolving, see Admin for details.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.common.KafkaFuture<Collection<TopicListing>> listings()Return a future which yields a collection of TopicListing objects.names()Return a future which yields a collection of topic names.org.apache.kafka.common.KafkaFuture<Map<String, TopicListing>> Return a future which yields a map of topic names to TopicListing objects.
-
Method Details
-
namesToListings
Return a future which yields a map of topic names to TopicListing objects. -
listings
Return a future which yields a collection of TopicListing objects. -
names
Return a future which yields a collection of topic names.
-