Federated exchange to queue bind

90 views
Skip to first unread message

Victor Godoy Poluceno

unread,
Jul 15, 2014, 10:48:25 AM7/15/14
to rabbitm...@googlegroups.com
Hi all,

I've an use case where an arbitrary number of queues are create dynamically, and those queues always bind to a topic exchange. To achieve HA I'm using two brokers with round robin strategy.

As my client may connect to any instance at any time, I've setup a pair of federated exchanges and queues. It works pretty well, both exchanges and queues got replicated to the other side.

But, the replication process does not seems to replicate the bind of queue to an exchange. So, the federated queue never has the bind and does not receive any messages from the federated exchange.

Right now, It's not a option to manually create the bind on the federated side every time a queue gets created upstream. So, am I missing something here? Is the federated plug in supposed to replicate binds to queues from upstream exchanges?

I'm using RabbitMQ 3.3.4 with Linux x64 on CentOS 6.5.

Thanks!

Simon MacMullen

unread,
Jul 17, 2014, 5:10:49 AM7/17/14
to Victor Godoy Poluceno, rabbitm...@googlegroups.com
On 15/07/2014 3:48PM, Victor Godoy Poluceno wrote:
> Hi all,
>
> I've an use case where an arbitrary number of queues are create
> dynamically, and those queues always bind to a topic exchange. To
> achieve HA I'm using two brokers with round robin strategy.
>
> As my client may connect to any instance at any time, I've setup a pair
> of federated exchanges and queues. It works pretty well, both exchanges
> and queues got replicated to the other side.

Hmm, do you mean both the exchanges and queues are federated? That might
not be what you want, see:

http://www.rabbitmq.com/federated-queues.html#pitfalls

> But, the replication process does not seems to replicate the bind of
> queue to an exchange. So, the federated queue never has the bind and
> does not receive any messages from the federated exchange.

No, it doesn't. I will file a bug to do that.

Cheers, Simon
Reply all
Reply to author
Forward
0 new messages