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

Truncate/drop table/drop database DDL as event inside data topic

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 1.0.0.Beta3
    • mysql-connector
    • None
    • 0
    • 0% 0%

    Description

      I wish there was a way for debezium downstream consumers to receive "drop database" "truncate table" events inside table data topics. Right now if table is truncated or database/table dropped there are no individual item delete events nor "all items removed" events and stale data will remain in consumers state.

      There is a way to receive those DDL events from separate database schema changes topic, but with separate topic there are no order guarantees.

      Could it be custom event with after/before values null and op='reset'? And as it is advanced usage is turned off by default? Wdyt?

      Attachments

        Activity

          People

            Unassigned Unassigned
            pimpelsang Eero Koplimets (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: