id recommend you look into MergeRecord for this.

On Dec 13, 2017 3:35 PM, "tzhu" <[email protected]> wrote:

> Hi,
>
> I want to use MergeContent to combine single-lined flowfiles resulted from
> a
> text file getting split and routed, and record the number of lines. I have
> a
> few text files. First, the text gets split into single lines by SplitText,
> and then the flowfiles are routed by RouteOnContent. I'm stuck on the part
> to merge the lines back into one file by filename and route property, and
> sum up merge.count to get the number of lines in the file. What should I
> do?
> Any help is appreciated.
>
> Thanks,
> Tina
>
>
>
> --
> Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/
>

Reply via email to