Package org.apache.kafka.clients.admin
Class TopicListing
java.lang.Object
org.apache.kafka.clients.admin.TopicListing
A listing of a topic in the cluster.
Constructor Summary
ConstructorsConstructorDescriptionTopicListing(String name, Uuid topicId, boolean internal) For testing purposes only Create an instance with the specified parameters.TopicListing(String name, Uuid topicId, boolean internal, TopicType topicType) Create an instance with the specified parameters.Method Summary
Constructor Details
TopicListing
For testing purposes only Create an instance with the specified parameters.- Parameters:
name- The topic nametopicId- The topic id.internal- Whether the topic is internal to Kafka
TopicListing
Create an instance with the specified parameters.- Parameters:
name- The topic nametopicId- The topic id.internal- Whether the topic is internal to KafkatopicType- The topic type. UNKNOWN if not supported by the broker.
Method Details