I'm trying to get my head around on extracting attributes from Avro and JSON. I'm able to extract attributes from JSON by using EvaluateJsonPath
processor. I'm trying to do the same on Avro, but i'm not sure whether it is achievable.
Here is my flow, ExecuteSQL
-> SplitAvro
-> UpdateAttribute
UpdateAttribute
is the processor where i want to extract the attributes. Please find below snapshot of UpdateAttribute
processor,
So, my basic question is, could we extract attributes form Avro? If yes, please provide me the right approach. Or is it necessary to use ConvertAvroToJSON
always before extracting the attributes?
ConvertAvroToJson
->EvaluateJsonPath
->ConvertJsonToAvro
as the workaround – Klystron