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

Support deletion events in the outbox routing SMT

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: