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

The MySQL connector should send DDL statements as separate events during snapshoting

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 0.3
    • 0.2.3
    • mysql-connector
    • None

    Description

      When monitoring the binlog for DDL statements (if configured to do so), the MySQL connector will essentially send one event for each DDL statement that's successfully executed and recorded in the binlog.

      However, when doing a snapshot, the connector reports atm. a series of SQL DROP and CREATE statements as a single event prior to generating the corresponding INSERTS.

      Ideally the DDL event behavior should be consistent in all cases, so the MySQL connector should send separate Kafka events for each DDL statement that's recorded during a snapshot taking process.

      Attachments

        Issue Links

          Activity

            People

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: