Skip to main content
sangee
Silver ⭐️
Apr 23, 2021 1:00 PM UTC
Question

How to configure wait and notify processor in NiFi

How to configure wait and notify processor in NiFi so that when one flow file is ingested into the database it has to notify and after that next flow file should come from wait

 

Screenshot (23).png

1 reply

MattWho
Titanium ⭐️⭐️
Titanium ⭐️⭐️
May 6, 2021 9:10 PM UTC

@sangee 

 

Details around your use case may be helpful.

The SplitText processor will output all FlowFiles produced at the exact same time to the "splits" relationship.  So if you intent is to wait until all splits from a single source FlowFile are produced before processing those splits, this flow is not needed.

Pierre has written an excellent blog around using wait and notify processors in a dataflow that does merge and split.  Check it out here:
https://pierrevillard.com/2018/06/27/nifi-workflow-monitoring-wait-notify-pattern-with-split-and-merge/

 

If you found this helpful with your query, please take a moment to login and click accept on this solution.

Thanks,

Matt

Translate