public class TopicListing extends Object
Constructor and Description |
---|
TopicListing(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.
|
String |
name()
The name of the topic.
|
String |
toString() |
public TopicListing(String name, boolean internal)
name
- The topic nameinternal
- Whether the topic is internal to Kafkapublic String name()
public boolean isInternal()