apache-nifitruncatedropflowfile

how to drop or truncate flow file content after handling it?


I am dealing with ETL tasks using NiFi. I observed that flow files were flowing from begin to end. In the fact, after some processor, I handled the data already. so I want to drop or truncate the content to prevent hundreds of Mb data from being non-sense moved further. Is there any method?


Solution

  • You can use 'ModifyBytes' Processor. You should set "Remove All Content" to true and it will remove all content from the FlowFile.

    You can read more about the processor here. enter image description here