[KAFKA-211] Qlik Delete documents may not contain any 'beforeData' Created: 23/Mar/21  Updated: 28/Oct/23  Resolved: 23/Mar/21

Status: Closed
Project: Kafka Connector
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Bug Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to KAFKA-194 Support Qlik Replicate CDC Closed

 Description   

Here is an example Qlik delete:

KAFKA-194 only supported the delete information in the beforeData field, looks like the data field should be used if beforeData is null.

{"magic": "atMSG", "type": "DT", "headers": null, "messageSchemaId": null, "messageSchema": null, "message": 
{"data": {"order_id": 19, "product_name": "test", "product_SKU": "T1", "quantity": 12222}, "beforeData": null, 
  "headers": {"operation": "DELETE", "changeSequence": "20210323144500000000000000000000077", "timestamp": "2021-03-23T14:45:00.000", 
 "streamPosition": "mysql-bin.000004:4998:18:5373:17179874048:mysql-bin.000004:4937", "transactionId": "00000000000000000000000400001300", 
 "changeMask": "01", "columnMask": "0F", "transactionEventCounter": 19, "transactionLastEvent": false}}}



 Comments   
Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Improved support for Qlik DELETE events (#67)

Support the scenario where 'beforeData' is missing or null.

KAFKA-211 KAFKA-194
Branch: master
https://github.com/mongodb/mongo-kafka/commit/1d722d790208580036e22d8a2b3b6c9e80f4d20f

Generated at Thu Feb 08 09:05:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.