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)
Deprecated.Since 3.0 useTopicListing(String, Uuid, boolean)
insteadTopicListing(String name, Uuid topicId, boolean internal)
Create an instance with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInternal()
Whether the topic is internal to Kafka.String
name()
The name of the topic.Uuid
topicId()
The id of the topic.String
toString()
-
-
-
Constructor Detail
-
TopicListing
@Deprecated public TopicListing(String name, boolean internal)
Deprecated.Since 3.0 useTopicListing(String, Uuid, boolean)
insteadCreate an instance with the specified parameters.- Parameters:
name
- The topic nameinternal
- Whether the topic is internal to Kafka
-
-