Package io.debezium.spi.topic
Interface TopicNamingStrategy<I extends DataCollectionId>
- Type Parameters:
I-
An interface that defines the topic naming strategy, including DataChange, SchemaChange, Transaction, Heartbeat events etc.
- Author:
- Harvey Yue
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn interface that augments the field to topic key/value schema.static interfaceAn interface that augments the field's value to topic key/value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final TopicNamingStrategy.TopicSchemaAugmentstatic final TopicNamingStrategy.TopicValueAugment -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Properties props) dataChangeTopic(I id) default StringrecordSchemaPrefix(I id) sanitizedTopicName(String topicName) Sanitize the given character whether is a legal character of a Kafka topic name.
-
Field Details
-
MAX_NAME_LENGTH
static final int MAX_NAME_LENGTH- See Also:
-
NO_SCHEMA_OP
-
NO_VALUE_OP
-
-
Method Details
-
configure
-
dataChangeTopic
-
schemaChangeTopic
String schemaChangeTopic() -
heartbeatTopic
String heartbeatTopic() -
transactionTopic
String transactionTopic() -
recordSchemaPrefix
-
sanitizedTopicName
Sanitize the given character whether is a legal character of a Kafka topic name. Legal characters are[a-zA-Z0-9._-]. -
keySchemaAugment
-
keyValueAugment
-