[rabbitmq-discuss] Round robin Topic exchange s

Matthias Radestock matthias at rabbitmq.com
Sat Feb 16 09:03:31 GMT 2013


Marc,

On 07/02/13 15:28, Marc Teichtahl wrote:
> Simon
>
> Thanks for the considered reply.
>
> We could go with your assumption
>
> "If the number of routing keys is limited and topic wildcards are not
> needed then you could just have one queue per routing key and have
> consumers consume from all the queues they are interested in, and the
> built in round robin would work for you."
>
> If we use a non-wildcard key then perhaps the topic exchange could
> look more like a set of direct of direct exchanges. This way the
> existing round robin mechanisms could be used. In fact, I may have
> misunderstood but doesn't the current topic exchange work like that ?

Exchanges route messages to all queues (or other exchanges) that have 
bindings which match the message. There is no round-robin routing taking 
place at this stage. The round-robin mechanism Simon is referring to 
operates between individual queues and their consumers.

Matthias.


More information about the rabbitmq-discuss mailing list