Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
murali23krishna
Contributor III
Contributor III

Custom JSON message format

Hi ,

As per the documentation, I was able to format the message structure for some extent, so is there a way to get rid of below structure from the payload. I am interested only in the message>data section. I am using Kafka endpoint.

{
"magic": "atMSG",
"type": "DT",
"headers": null,
"messageSchemaId": null,
"messageSchema": null,
"message": {
"data": {

}

}

Labels (2)
3 Replies
boaz_newman
Former Employee
Former Employee

Hello

 

Are you asking if you can completely get rid of the Replicate envelope (which is described here: https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/Kafka/attunity_envelope.htm) so Replicate will not use an envelope?

Boaz

murali23krishna
Contributor III
Contributor III
Author

The envelope contains other information such as "magic", "type", "headers","messageSchemaId","messageSchema" including the actual message, so I want the message to be present but the remaining fields related envelope can be suppressed, is that possible?

DesmondWOO
Support
Support

Hi @murali23krishna ,

In the Kafka endpoint, please uncheck "Wrap data messages with the Replicate Envelope" box and verify if it fulfills your requirement.

DesmondWOO_0-1702465396265.png

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!