-
Enhancement
-
Resolution: Done
-
Major
-
0.2.3
-
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.
- is duplicated by
-
DBZ-98 SnapshotReader should insert into schema-change.inventory with many records, not a merged ddl field.
- Closed