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

UnwrapFromMongoDbEnvelope doesn't support operation header on tombstone messages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.9.0.Beta2
    • 0.9.0.Beta1
    • mongodb-connector
    • None

    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

      Attachments

        Activity

          People

            renatomefi Renato Mefi (Inactive)
            renatomefi Renato Mefi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: