Created 03-25-2018 05:04 AM
Is there any processor in Nifi that could extract the JSON attributes dynamically without hardcoding them in a processor like EvaluateJsonpath?
TIA
Created 03-25-2018 07:10 AM
As of now there is no built in processor in NiFi that could extract Json attribute dynamically because if we add significant number of attributes dynamically to the flow file, As attributes are hold in memory this will cause performance issues.
We need to add all the json keys/attributes and matching json path as value in EvaluateJsonPath processor and change the destination property to flowfile-attribute to keep them as a flow file attributes.
Please refer to This link for more details regarding dynamic attribute extract processor.
Created 03-25-2018 07:34 AM
Thanks so much for the quick response Shu. I have been doing some POC's on NIFI lately as a part of my client's requirement and so came up with this question.