public class TopicListing
extends java.lang.Object
Constructor and Description |
---|
TopicListing(java.lang.String name,
boolean internal)
Create an instance with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInternal()
Whether the topic is internal to Kafka.
|
java.lang.String |
name()
The name of the topic.
|
java.lang.String |
toString() |
public TopicListing(java.lang.String name, boolean internal)
name
- The topic nameinternal
- Whether the topic is internal to Kafkapublic java.lang.String name()
public boolean isInternal()
public java.lang.String toString()
toString
in class java.lang.Object