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

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    private String
     

    Fields 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, transaction

    Fields inherited from interface io.debezium.spi.topic.TopicNamingStrategy

    MAX_NAME_LENGTH, NO_SCHEMA_OP, NO_VALUE_OP
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    CustomTopicNamingStrategy(Properties props, String dataChangeTopic, String recordSchemaPrefix)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dataChangeTopic(io.debezium.spi.schema.DataCollectionId id)
     
    recordSchemaPrefix(io.debezium.spi.schema.DataCollectionId id)
     

    Methods inherited from class io.debezium.schema.SchemaTopicNamingStrategy

    create, create

    Methods inherited from class io.debezium.schema.AbstractTopicNamingStrategy

    configure, getSchemaPartsTopicName, heartbeatTopic, isValidCharacter, mkString, sanitizedTopicName, schemaChangeTopic, transactionTopic

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.debezium.spi.topic.TopicNamingStrategy

    keySchemaAugment, keyValueAugment
  • Field Details

    • dataChangeTopic

      private String dataChangeTopic
    • recordSchemaPrefix

      private String recordSchemaPrefix
  • Constructor Details

    • CustomTopicNamingStrategy

      public CustomTopicNamingStrategy(Properties props)
    • CustomTopicNamingStrategy

      public CustomTopicNamingStrategy(Properties props, String dataChangeTopic, String recordSchemaPrefix)
  • Method Details

    • dataChangeTopic

      public String dataChangeTopic(io.debezium.spi.schema.DataCollectionId id)
      Specified by:
      dataChangeTopic in interface io.debezium.spi.topic.TopicNamingStrategy<io.debezium.spi.schema.DataCollectionId>
      Overrides:
      dataChangeTopic in class io.debezium.schema.SchemaTopicNamingStrategy
    • recordSchemaPrefix

      public String recordSchemaPrefix(io.debezium.spi.schema.DataCollectionId id)