@InterfaceStability.Evolving public class ListTopicsResult extends Object
AdminClient.listTopics()
call.
The API of this class is evolving, see AdminClient
for details.Modifier and Type | Method and Description |
---|---|
KafkaFuture<Collection<TopicListing>> |
listings()
Return a future which yields a collection of TopicListing objects.
|
KafkaFuture<Set<String>> |
names()
Return a future which yields a collection of topic names.
|
KafkaFuture<Map<String,TopicListing>> |
namesToListings()
Return a future which yields a map of topic names to TopicListing objects.
|
public KafkaFuture<Map<String,TopicListing>> namesToListings()
public KafkaFuture<Collection<TopicListing>> listings()
public KafkaFuture<Set<String>> names()