[rabbitmq-discuss] Federation and QoS

Simon MacMullen simon at rabbitmq.com
Tue Jan 31 11:11:45 GMT 2012

It's important to remember that the RabbitMQ federation plugin federates 
*exchanges*, not queues. The idea is that any message that gets 
federated will get sent to all the brokers in the federation.

If you want to ensure that each message only gets consumed in one broker 
you will need to send messages around using the shovel at the moment by 
having multiple shovels consume from a single queue.

Cheers, Simon

On 31/01/12 05:50, James Aimonetti wrote:
> Hash: SHA1
> We have a federated setup that we're testing, and I'm wondering about
> queues and de-duping.
> We have a number of named queues that have multiple consumers attached,
> with QoS to 1 so things are round-robined among those consumers.
> Assuming bi-directional federation, and consumers on both brokers, will
> it be possible that a publisher's payload on broker1 will reach both a
> consumer on broker1 and be published to broker2 to be consumed there as
> well?
> If not, is there a way to figure out whether to actually federate the
> message across brokers? Any pointers, in general, on how messaging
> changes from non-federated to federated, given non-federated messaging
> patterns?
> We're really excited to start pushing the federation out, but we need to
> get these patterns solidified.
> Thanks,
> James
> - --
> James Aimonetti
> Distributed Systems Engineer / DJ MC_
> 2600hz | http://2600hz.com
> sip:james at 2600hz.com
> tel: 415.886.7905
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> iu9YmxajrNuL9wFNvjWXuGTQey9g2Ub2pp2Ltn85M+6LIT61jVZiNKJzWroIFhrl
> E7iRT7ZvGUGJ1ZNGInKwl3Ynu/nlX6DxJpQ6pvCElwAJy9DFWGnO1IJur/zX1vyY
> GhL+6L8l+w6gbBSnM3ASIBiUUSlmw8lrKoqYNdYr99/V/2C/AgOXNEv0BWDfA2pe
> ASxfP16yW98/bU1VqFGNx2nr/x15DqlcU/ZkcjZbZqVApH8jokNPt79o11odZ5RG
> xPvpREC/AiiOZVclYyBf/nvDqc5nZAo7aEB0duinFiZq0Ioqihtue3RTIkmHpFk=
> =36kg
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list