Check which serializer you have configured in your producer. You are probably 
using an Avro serializer which will add the schema and modify the payload to 
avro data. You can use a String serializer or a ByteArray serializer and the 
data will either be Base64 encoded or not encoded at all.

-hans



> On Jun 2, 2017, at 7:59 AM, Mina Aslani <aslanim...@gmail.com> wrote:
> 
> Hi.
> 
> Is there any way that I get the data into a Kafka topic in Json format?
> The source that I ingest the data from have the data in Json format,
> however when I look that data in the kafka topic, schema and payload fields
> are added and data is not in json format.
> 
> I want to avoid implementing a transformer to get the data from the topic
> and publishes Json in another one.
> 
> Your input is appreciated.
> 
> Best regards,
> Mina

Reply via email to