Thank you. That solves my problem. I agree this is memory inefficient operation. My FlowFile contains only few number of text lines. So should be fine.
On Fri, Feb 26, 2016 at 6:46 PM, James Wing <[email protected]> wrote: > It is certainly possible to do this. One method would be to use an > ExtractText processor, adding a custom attribute with a value set to the > regular expression "(.*)". There is probably a more elegant way. > > You should be careful with this. FlowFile attributes are stored in > memory, where content is stored on disk. Some questions about that came > across the email lists within the last few days, you might want to read > back to understand the performance issues involved. > > > http://mail-archives.apache.org/mod_mbox/nifi-users/201602.mbox/%3ccaljk9a5ulcitnfo0dlsvd5d-jkcsqm+rqjxuruzwgrdbqad...@mail.gmail.com%3E > > > > On Fri, Feb 26, 2016 at 12:53 PM, Radhakrishna Bhat < > [email protected]> wrote: > >> Hi, >> >> Is there any way to copy all of the content of flowfile to an attribute? >> > >
