Member since
12-21-2016
16
Posts
0
Kudos Received
0
Solutions
11-16-2017
02:58 PM
1 Kudo
You could probably implement a custom processor like "JsonToAttributes" very easily, iterate through a JSON document and add each field/value as an attribute to the flow file, or do it with a Groovy script in ExecuteScript. The reason it doesn't exist is that in the general case you should be careful about adding a significant amount of attributes because those are held in memory, so if we provided this processor people would start using it to adding 100s of attributes to their flow files which could lead to poor performance and memory issues.
... View more
10-16-2017
03:39 PM
I had the same question a few months later after forgetting what I did last time and lo and behold my google search results in my own question on hwx, so thanks again.
... View more
06-14-2017
05:10 PM
Thank you, this was very helpful. For my specific purposes and my specific scenario it would seem using the difference in time should be adequate. I will keep in mind your warnings regarding time in queue, which was also the reason I didn't want to use lineage duration either, as we have events sitting in front of a control rate.
... View more