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

UnwrapFromMongoDbEnvelope doesn't support operation header on tombstone messages

    XMLWordPrintable

    Details

      Description

      Context

      When you try to set the header a tombstone message a NPE happens due to not being able to fetch the field "op" from the Record value

      Reproduce

      Configure a connector with the Unwrap enabled, set:

      "transform.unwrap.operation.header": "true",
      "transform.unwrap.drop.tombstones": "false",
      

      Delete one document in the collection, you should expect a NPE

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                renatomefi Renato Mefi
                Reporter:
                renatomefi Renato Mefi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: