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 <[email protected]> 
wrote:


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 will be striped off the attributes and lineage is lost.

I tried also ReplaceText to replace with Empty string, but I have large files
in the flow, so it is extremely slow.

Thanks,

Tom

Reply via email to