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