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

outbox extension emits UPDATE events when delete is disabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 1.4.0.Beta1
    • 1.4.0.CR1
    • outbox
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: