Interface CollectionNamingStrategy

All Known Implementing Classes:
DefaultCollectionNamingStrategy

public interface CollectionNamingStrategy
A pluggable strategy contract for defining how table names are resolved from kafka records.
Author:
Chris Cranford
  • Method Details

    • resolveCollectionName

      String resolveCollectionName(DebeziumSinkRecord record, String collectionNameFormat)
      Resolves the logical collection name from the Debezium sink record.
      Parameters:
      record - Debezium sink record, should not be null
      collectionNameFormat - the format string for the collection name (mapped from the topic name)
      Returns:
      the resolved logical collection name; if null the record should not be processed