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

outbox extension emits UPDATE events when delete is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.CR1
    • 1.4.0.Beta1
    • outbox
    • None
    • False
    • False
    • Undefined

      Hibernate generates a deep copy of outbox event to check for dirtiness of the entity. The deep copy is done via serialiaztion and deserialization of the payload field - using io.debezium.outbox.quarkus.internal.JsonNodeAttributeConverter. During deserialization the Long nodes can become {Int}} nodes which means that the recorded state is different from the real one in logical JSON representation so the dirtiness is detected and UPDATE staements are triggered.

      Setting the outbox entity to read-only solves the issue.

              jpechane Jiri Pechanec
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: