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

Make "snapshot.include.collection.list" case insensitive like "table.include.list"

    XMLWordPrintable

Details

    Description

      I was trying to use "snapshot.include.collection.list" for mysql connector, it seems it doesn't support case insensitive unlike "table.include.list". Say I have some schame and tables like schame.Table1, schame.Table2 etc so for "table.include.list" I have "schema.table1,schema.table2,schema.table3", but for "snapshot.include.collection.list" I need to put "(?i)(schema.table1|schema.table2)" to make it work, is it possible to make it consistent for all the configs.

       

       mysql version: 8.0.13

      connector config:

      "connector.class": "MySqlConnector", 
      "database.hostname": "mysql", 
      "database.port": "3306", 
      "database.user": "user", 
      "database.password": "pass", 
      "database.server.name": "server", 
      "database.history.kafka.bootstrap.servers": "kafka:29092", 
      "database.history.kafka.topic": "internal", 
      "database.include.list": "schema", 
      "table.include.list": "schema.table1,schema.table2,schema.table3", 
      "snapshot.include.collection.list": "(?i)schema\\.(table1|table2)"
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mzhang8861 Meng Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: