Message Value Format - Confluent Kafka Producer

Hi Team,

I have a requirement to write the input JSON data in JSON format to the Kafka server using Confluent Kafka Producer snap. When I am writing with the input in JSON value ($), it is writing as a string with ‘=’ symbols between the fields and field values.

When I am writing using the JSON.stringify($) function, extra [’\’] characters are coming. Can you please suggest a way to write the input data in JSON format to kafka?

Thanks in Advance! Appreciate your quick response.

Thanks and Regards,
Gopi Bekkanti.