public class TopicListing extends Object
| Constructor and Description |
|---|
TopicListing(String name, boolean internal)Deprecated. Since 3.0 use TopicListing(String, Uuid, boolean, TopicType) instead |
TopicListing(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. |
| Modifier and Type | Method and Description |
|---|---|
boolean | isInternal()Whether the topic is internal to Kafka. |
String | name()The name of the topic. |
Uuid | topicId()The id of the topic. |
TopicType | topicType()The type of the topic. |
String | toString() |
@Deprecated public TopicListing(String name, boolean internal)
TopicListing(String, Uuid, boolean, TopicType) insteadname - The topic nameinternal - Whether the topic is internal to Kafkapublic TopicListing(String name, Uuid topicId, boolean internal)
name - The topic nametopicId - The topic id.internal - Whether the topic is internal to Kafkapublic TopicListing(String name, Uuid topicId, boolean internal, TopicType topicType)
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.public Uuid topicId()
public String name()
public boolean isInternal()
public TopicType topicType()