I want to convert json data to avro. I have used GenerateFlowFile and put dummy json value [{"firstname":"prathik","age":21},{"firstname":"arun","age":22}]. I have then used ConvertRecord processor and set JsonTreeReader and AvroRecordSetWriter with AvroSchemaRegistry which has the following schema:AvroScehma
But i am getting this as my output: Output (Avro Data)
I am new to Apache Nifi. Thanks in Advance.
0„Ûv‚L@prathik*arun,¢ÈFB¡-Ž
0„Ûv‚L@ Again is red dot. – prathik vijaykumarJsonTreeReader
andAvroRecordSetWriter
? – Ben Yaakobi