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 Type
    Method
    Description
    resolveTableName(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 be null
      record - Kafka sink record, should not be null
      Returns:
      the resolved logical table name; if null the record should not be processed