Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-7051

Pass connector configuration to Column/Table naming strategies

XMLWordPrintable

    • False
    • None
    • False

      The current implementation for TableNamingStrategy and ColumnNamingStrategy do not allow an easy way for user-configurable options passed via the connector configuration to be used when creating these strategies.

      We should introduce a configure method on these strategies, i.e.:

      default void configure(HashMap<String, Object> config) {
      }
      

      The JDBC sink connector should then take any properties that are passed using the namespace of table.naming.strategy.xxxx and pass those to the TableNamingStrategy while similarly doing the same for column.naming.strategy.xxxx for the ColumnNamingStrategy.

      This will allow these to work more like transformations as an alternative to dealing with naming behavior that deviates from the default behavior.

            Unassigned Unassigned
            ccranfor@redhat.com Chris Cranford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: