Package io.debezium.relational
Class CustomTopicNamingStrategy
java.lang.Object
io.debezium.schema.AbstractTopicNamingStrategy<io.debezium.spi.schema.DataCollectionId>
io.debezium.schema.SchemaTopicNamingStrategy
io.debezium.relational.CustomTopicNamingStrategy
- All Implemented Interfaces:
io.debezium.spi.topic.TopicNamingStrategy<io.debezium.spi.schema.DataCollectionId>
public class CustomTopicNamingStrategy
extends io.debezium.schema.SchemaTopicNamingStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.debezium.spi.topic.TopicNamingStrategy
io.debezium.spi.topic.TopicNamingStrategy.TopicSchemaAugment<S extends Object>, io.debezium.spi.topic.TopicNamingStrategy.TopicValueAugment<I extends io.debezium.spi.schema.DataCollectionId,S extends Object, R extends Object> -
Field Summary
FieldsFields inherited from class io.debezium.schema.AbstractTopicNamingStrategy
DEFAULT_HEARTBEAT_TOPIC_PREFIX, DEFAULT_TRANSACTION_TOPIC, delimiter, heartbeatPrefix, multiPartitionMode, prefix, replacement, TOPIC_CACHE_SIZE, TOPIC_DELIMITER, TOPIC_HEARTBEAT_PREFIX, TOPIC_TRANSACTION, topicNames, transactionFields inherited from interface io.debezium.spi.topic.TopicNamingStrategy
MAX_NAME_LENGTH, NO_SCHEMA_OP, NO_VALUE_OP -
Constructor Summary
ConstructorsConstructorDescriptionCustomTopicNamingStrategy(Properties props, String dataChangeTopic, String recordSchemaPrefix) -
Method Summary
Modifier and TypeMethodDescriptiondataChangeTopic(io.debezium.spi.schema.DataCollectionId id) recordSchemaPrefix(io.debezium.spi.schema.DataCollectionId id) Methods inherited from class io.debezium.schema.SchemaTopicNamingStrategy
create, createMethods inherited from class io.debezium.schema.AbstractTopicNamingStrategy
configure, getSchemaPartsTopicName, heartbeatTopic, isValidCharacter, mkString, sanitizedTopicName, schemaChangeTopic, transactionTopicMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.spi.topic.TopicNamingStrategy
keySchemaAugment, keyValueAugment
-
Field Details
-
dataChangeTopic
-
recordSchemaPrefix
-
-
Constructor Details
-
CustomTopicNamingStrategy
-
CustomTopicNamingStrategy
public CustomTopicNamingStrategy(Properties props, String dataChangeTopic, String recordSchemaPrefix)
-
-
Method Details
-
dataChangeTopic
- Specified by:
dataChangeTopicin interfaceio.debezium.spi.topic.TopicNamingStrategy<io.debezium.spi.schema.DataCollectionId>- Overrides:
dataChangeTopicin classio.debezium.schema.SchemaTopicNamingStrategy
-
recordSchemaPrefix
-