Skip to main content
New Participant
Feb 3, 2025 11:25 AM UTC
Question

Gzip format response

Hello Everyone!

We are using consume KAFKA plug-in, however the source system is publishing data to Kafka in Gzip format. In Appian we are reading data from consume KAFKA plugin able to store kafka messages in database. The body of the Json data is in Gzip format. Can anyone suggest how to decompress the data while reading data from database. 

Example: 

{"topic":"testTopic","partition":0,"offset":23,"key":"123","value":"\u001f�\b\u0000\u0000\u0000\u0000\u0000\u0000"}

Thanks for your help!

    1 reply

    stefanhelzle0001
    Brainy
    Feb 3, 2025 11:43 AM UTC

    You could try to define this data as binary and make Appian store it as files. Then you can use the ZIP plugins to extract it.