[rabbitmq-discuss] Confirm consistent hash exchange behavior
Matthias Radestock
matthias at rabbitmq.com
Fri Mar 15 22:37:51 GMT 2013
On 15/03/13 21:56, Alvaro Videla wrote:
> - Create queues 1, 2, .... N
> - Bind queues to the CHX
> - publish the queue names to a queue called "lock" for example.
> [etc]
With that approach the number of consumers must be exactly the same as
the number of queues; if you have fewer then some messages won't get
consumed, and if you have more then some consumers won't process any
messages.
Furthermore, you cannot add/remove queues since that will cause some
subsequent messages to get routed to different queues than prior to the
queue addition/removal. They will then be picked up by different consumers.
Matthias.
More information about the rabbitmq-discuss
mailing list