Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to prioritize one queue before a funnel

Highlighted

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.

1 REPLY 1

Re: How to prioritize one queue before a funnel

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.