Ensuring of order of flow files in Nifi
Hi,
We need help with respect to order of records in Nifi.
We have couple of custom processors which work in batch.
There is processor which reads the data from source (Processor A) & another processor which writes the data to SFTP (processor B).
Processor A outputs the data in form of multiple flow files (100 records from source are written in one flow file). Assume if there are 600 records in source, we get 6 FFs out of processor A.
Process A & Processor B are directly connected to each other & entire execution happens in Single node only.
However, we are finding that one some occasions the Process B is processing flow files out of order. For example, third flow gets processed first & then the second flow file.
Understood the flow fill prioritizer needs to be chosen explicitly in the connection between Process A & Process B. However, confused up on FirstInFirstOut prioritizer & OlderFlowFilePrioritizer.
Kindly provide pointers to guarantee the order of flow files
Thanks in advance.

