Support Questions
Find answers, ask questions, and share your expertise

Nifi 1.7.1 How can I pass part of a flowfile content to the biggining of the next one



I'm using nifi 1.7.1 managed with HDF (Ambari).

The use case I'm trying to develop with a Nifi custom processor is the following:

First grab a flowFile and split it with some rules and at the end could be a broken chunk so I want to pass this broken chunk to the beginning of the next flowFile, because the missing part of the broken chunk will be in it and then continue cuting and join.

Can someone help me with some guidance and if possible code.

The use case is split flowfile then pass the last part and merg it into the begging of the next flowfile to be processed.

Thank you,