-
Bug
-
Resolution: Done
-
Major
-
2.4.0.Alpha1
-
None
-
False
-
None
-
False
-
-
Deleting a database record with unwrap SMT and rewrite handling mode results in different events for MongoDB and relational databases
For MongoDB:
"transforms": "unwrap", "transforms.unwrap.type": "io.debezium.connector.mongodb.transforms.ExtractNewDocumentState", "transforms.unwrap.delete.handling.mode": "rewrite"
an unwrapped delete events results in
"payload": { "__deleted": true }
However with MySQL
"transforms": "unwrap", "transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState", "transforms.unwrap.delete.handling.mode": "rewrite"
an unwrapped delete event results it
"payload": { "id": 1004, "first_name": "Anne", "last_name": "Kretchmar", "email": "annek@noanswer.org", "__deleted": "true" }
- is related to
-
DBZ-7695 Mongodb Delete events should have `_id` in the payload
- Closed
- links to
-
RHEA-2023:120698 Red Hat build of Debezium 2.3.4 release