Srini, 
You can also use execute stream command and bypass the PutFile.  The Execute 
Stream command processor triggers on an incoming flowfile and can execute the 
'sort' on the contents and output the results to the next processor. 

This approach keeps everything streaming through memory. 

Lee


> On Dec 12, 2016, at 7:40 AM, srini <[email protected]> wrote:
> 
> I realized I can use ExecuteProcess here.
> 
> 
> 
> --
> View this message in context: 
> http://apache-nifi-developer-list.39713.n7.nabble.com/How-to-sort-contents-in-a-file-tp14183p14205.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to