@Evolving public interface Topic extends Auditable
Namespace
. A topic is a message queue
that is managed by Apache Gravitino. Users can create/drop/alter a topic on the Message Queue
system like Apache Kafka, Apache Pulsar, etc.
Topic
defines the basic properties of a topic object. A catalog implementation with
TopicCatalog
should implement this interface.
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
comment() |
java.lang.String |
name() |
default java.util.Map<java.lang.String,java.lang.String> |
properties() |
default SupportsTags |
supportsTags() |
java.lang.String name()
@Nullable default java.lang.String comment()
default java.util.Map<java.lang.String,java.lang.String> properties()
default SupportsTags supportsTags()
SupportsTags
if the topic supports tag operations.java.lang.UnsupportedOperationException
- if the topic does not support tag operations.