Package io.debezium.sink.naming
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 Summary
Modifier and TypeMethodDescriptionresolveCollectionName(DebeziumSinkRecord record, String collectionNameFormat) Resolves the logical collection name from the Debezium sink record.
-
Method Details
-
resolveCollectionName
Resolves the logical collection name from the Debezium sink record.- Parameters:
record- Debezium sink record, should not benullcollectionNameFormat- the format string for the collection name (mapped from the topic name)- Returns:
- the resolved logical collection name; if
nullthe record should not be processed
-