View Issue Details

IDProjectCategoryView StatusLast Update
0006445SymmetricDSBugpublic2024-05-23 11:53
Reportermraseem Assigned To 
Priorityurgent 
Status newResolutionopen 
Product Version3.15.3 
Summary0006445: JSON payload for kafka is not in correct format (missing comma at the end of row on bulk update,delete and single insert,update
DescriptionHi Team

Am working on symmetricds 3.15.3 version. replicating the data from sybase to kafka.

i have noticed the following things on kafka.

i did a 20 rows insert from sybase to kafka, i can see each in each row end it given a comma to sepearate it.
for e.g :-
{"statuscode":{"event type":"INSERT","data":{"status":"0","status_desc":"AVAILABLE"}}},
{"statuscode":{"event type":"INSERT","data":{"status":"1","status_desc":"NOT AVAILABLE"}}},
{"statuscode":{"event type":"INSERT","data":{"status":"2","status_desc":"LOST"}}},
{"statuscode":{"event type":"INSERT","data":{"status":"3","status_desc":"RECEIVED"}}},

over here you can see at the end all row are seperated by a comma

but when i do a bulk update or delete or manually insert, update and delete one row , comma is not showing.

is there a way i can provide a comma after each row, when a DML operation happend(insert,update,delete).

Please find the below screenshot for the reference
TagsNo tags attached.

Activities

mraseem

2024-05-23 11:52

reporter   ~0002449

Hi Team,

am using symadmin module kafka to publish the sybase database to kafka.
when am doing the one single insert,update,delete and bulk update/delete, we have noticed there is JSON message which come from kafka publisher is not in a correct format.(ie :- we are missing comma at the end of each row)

{"statuscode":{"event type":"delete","data":{"status":"1","status_desc":"NOT AVAILABLE"}}}
{"statuscode":{"event type":"INSERT","data":{"status":"1","status_desc":"NOT AVAILABLE"}}}



but when i do it on bulk insert transaction on sybase DB we can see a comma is coming in the kafka publisher messages.

{"statuscode":{"event type":"INSERT","data":{"status":"0","status_desc":"AVAILABLE"}}},
{"statuscode":{"event type":"INSERT","data":{"status":"1","status_desc":"NOT AVAILABLE"}}},
{"statuscode":{"event type":"INSERT","data":{"status":"2","status_desc":"LOST"}}},
{"statuscode":{"event type":"INSERT","data":{"status":"3","status_desc":"RECEIVED"}}},




Could you please let me know, how to fix the issues

mraseem

2024-05-23 11:53

reporter   ~0002450

IMG_20240514_170007.jpg (4,256,758 bytes)

Issue History

Date Modified Username Field Change
2024-05-23 11:38 mraseem New Issue
2024-05-23 11:52 mraseem Note Added: 0002449
2024-05-23 11:53 mraseem Note Added: 0002450
2024-05-23 11:53 mraseem File Added: IMG_20240514_170007.jpg