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

Support deletion events in the outbox routing SMT

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 0.10.0.Beta3
    • None
    • core-library
    • None

    Description

      Currently, there's no way to signal when outbox events can be deleted from the Kafka topics. This is because the fact that an event record in the outbox table got deleted doesn't mean that the events for the same aggregate are deleteable, which is why the outbox routing SMT discards tombstone events atm.

      To support deletions, there should be new supported column "is deleted", which would be set to true by applications writing to the outbox table when producing an event that represents the deletion of an aggregate. If true, the outbox router will take this as the signal to produce a tombstone event.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gunnar.morling Gunnar Morling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: