Package org.apache.kafka.common
Class TopicCollection.TopicNameCollection
- java.lang.Object
-
- org.apache.kafka.common.TopicCollection
-
- org.apache.kafka.common.TopicCollection.TopicNameCollection
-
- Enclosing class:
- TopicCollection
public static class TopicCollection.TopicNameCollection extends TopicCollection
A class used to represent a collection of topics defined by their topic name. Subclassing this class beyond the classes provided here is not supported.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.kafka.common.TopicCollection
TopicCollection.TopicIdCollection, TopicCollection.TopicNameCollection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
topicNames()
-
Methods inherited from class org.apache.kafka.common.TopicCollection
ofTopicIds, ofTopicNames
-
-
-
-
Method Detail
-
topicNames
public Collection<String> topicNames()
- Returns:
- A collection of topic names
-
-