Class TopicListing


  • public class TopicListing
    extends Object
    A listing of a topic in the cluster.
    • Constructor Detail

      • TopicListing

        public TopicListing​(String name,
                            boolean internal)
        Create an instance with the specified parameters.
        Parameters:
        name - The topic name
        internal - Whether the topic is internal to Kafka
    • Method Detail

      • name

        public String name()
        The name of the topic.
      • isInternal

        public boolean isInternal()
        Whether the topic is internal to Kafka. An example of an internal topic is the offsets and group management topic: __consumer_offsets.