Hi all,
I wonder if following scenario can work:
I have a direct exchange where are published two kind of messages, each associated to a different routing key, let's say "short" (very frequent) and "long" (once a day).
One queue binded to both routing key.
Now I've 10 concurrent consumers listening on that queue.
I would like that all consumers consume "short" messages.
But only 5 of them should consume "long" messages.
Is it possible ?
The reason is to have always maximum 10 concurrent message processing and process "short" messages as quick as possible.
Splitting routing keys on two different queues will reduce the processing rate for "short" messages (only 5 consumers for example) and leave idle consumers for "long" message, since is at daily basis.
Thanks in advance for helping.
Arturo