I am a newbie in apache Nifi,
I am trying to solve one problem,
The number of flow files IN = The number of flow files OUT.
Overall I am trying to do a flow file count validation.
Right Now I am trying with putDistributedCache and getDistributedCache. but not getting any idea.
Any sample or any example can help me a lot.
I think we need a bot more detail on your use case here.
Where are you taking your measurements within your dataflow
Within a single NiFi dataflow, the number of FlowFile In ( assuming you mean number of FlowFiles created on ingest from some source?) will almost never match number of FlowFile out (Assuming you mean number of FlowFile written to some target?). This is because a single FlowFile may be split in to multiple FlowFiles, multiple FlowFiles combined in to a single FlowFile, you may clone FlowFiles, you may send same FlowFile to multiple targets, etc...