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

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

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: