Package org.apache.kafka.clients.admin
Class TopicListing
java.lang.Object
org.apache.kafka.clients.admin.TopicListing
public class TopicListing extends Object
A listing of a topic in the cluster.
-
Constructor Summary
Constructors Constructor Description TopicListing(String name, boolean internal)Create an instance with the specified parameters. -
Method Summary
Modifier and Type Method Description booleanisInternal()Whether the topic is internal to Kafka.Stringname()The name of the topic.StringtoString()
-
Constructor Details
-
TopicListing
Create an instance with the specified parameters.- Parameters:
name- The topic nameinternal- Whether the topic is internal to Kafka
-
-
Method Details