AW: Delete FlowFile content

2021-05-20 Thread Dobbernack, Harald (Key-Work)
My choice in the past for such a case was AttributesToJSON with Destination=flowfile-content thinking that this really quickly gets rid of large content, albeit replacing it with a small json … don’t know if this is better or worse performance wise than ReplaceText, but it does get the job

Re: Delete FlowFile content

2021-05-20 Thread Mark Payne
Easiest way is to use ReplaceText. But put the replacement strategy (may not be exactly the name of the property) to Always Replace instead of Regex Replace. That should be extremely fast. Sent from my iPhone On May 20, 2021, at 9:26 AM, Tomislav Novosel wrote:  Hi to all, what is the

Delete FlowFile content

2021-05-20 Thread Tomislav Novosel
Hi to all, what is the best way to delete flowfiles content so that flowfile keeps attributes, but to not take space in next relationship between two processors? I found this: https://stackoverflow.com/questions/53312069/what-is-a-fastest-way-to-remove-nifi-flowfile-content But then flowfile