Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

How to prioritize one queue before a funnel

New Contributor

I have 2 queues that go into a funnel and then to an InvokeHTTP processor. How can I make sure that there are no flowfiles in Q1 before taking flowfiles from Q2 to go into the funnel?

I've tried with priority attributes but this behavior doesn't seem to be what I'm looking for. Both Q's get read from and then after the funnel flowfiles from the high priority get processed first.


Super Guru

@Tom De Backer

Did you tried using EnforceOrder processor in NiFi.

Then for first queue use increment 1 then for second queue use increment 2 so that flowfiles are going to funnel will always wait until the first queue flowfile came in.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.