I am trying to create a flow to convert a JSON object to Avro and then consume the produced data from Avro to JSON.
This is the sample data I am using
When I check the data that is finally consumed and converted back to JSON , It is coming as array instead of object :
[ {
"Vehicle" : "BigVehicle",
"Fromuser" : "User1",
"Timestamp" : "2024-03-19T13:00:00+0530"
} ]
convertRecord configuration for JSON toAvro conversion:
Convert Record from Avro to JSON: