Interface TableNamingStrategy
- All Known Implementing Classes:
DefaultTableNamingStrategy
public interface TableNamingStrategy
A pluggable strategy contract for defining how table names are resolved from kafka records.
- Author:
- Chris Cranford
-
Method Summary
Modifier and TypeMethodDescriptionresolveTableName(JdbcSinkConnectorConfig config, org.apache.kafka.connect.sink.SinkRecord record) Resolves the logical table name from the sink record.
-
Method Details
-
resolveTableName
String resolveTableName(JdbcSinkConnectorConfig config, org.apache.kafka.connect.sink.SinkRecord record) Resolves the logical table name from the sink record.- Parameters:
config- sink connector configuration, should not benullrecord- Kafka sink record, should not benull- Returns:
- the resolved logical table name, never
null
-