Member since
01-22-2024
1
Post
0
Kudos Received
0
Solutions
05-28-2024
08:57 PM
I am trying to create a flow to convert a JSON object to Avro and then consume the produced data from Avro to JSON. nisha2112goyal_0-1716954563874.png This is the sample data I am using nisha2112goyal_1-1716954702143.png 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: nisha2112goyal_2-1716954835993.png nisha2112goyal_3-1716954868220.png Convert Record from Avro to JSON: nisha2112goyal_4-1716954910577.png nisha2112goyal_5-1716954971171.png nisha2112goyal_6-1716955039455.png
... View more
Labels:
- Labels:
-
Apache NiFi