Questions tagged [rabbitmq-federation]

Used for questions relating to RabbitMQ's Federation plugin.

Used for questions relating to RabbitMQ's Federation plugin. The Federation plugin helps with distributed Message Brokers when clustering is not an option. An alternative to Federation plugin is Shovel plugin.

14 questions
53
votes
2 answers

When to use RabbitMQ shovels and when Federation plugin?

For the company I work for we would like to use RabbitMQ as our main message bus. The idea we have is that every single application uses their own vhost for internal communication and that via the shovel or federation plugin we would make it…
Michel Tol
  • 1,102
  • 1
  • 8
  • 15
4
votes
0 answers

Federated Queue is not appearing in Downstream node/server

I am trying to federate messages using Federate queue in two machines.But I am not able to see federated queue automatically creating in downstream server. Lets say example,I have two server A(Upstream) and B(Downstream).I did configuration…
Santosh Khavekar
  • 597
  • 1
  • 6
  • 22
3
votes
2 answers

RabbitMQ: Bi-directional federated brokers, how do you make all queues pop the message?

I have two brokers configured[1] with federation plugin. Both are pointing to each other as upstream. My test is: publish a message on broker A consume on broker B The result is: consuming on broker B works < good > the queue on broker B pops the…
Trevor Boyd Smith
  • 18,164
  • 32
  • 127
  • 177
2
votes
2 answers

How to configure RabbitMQ shovel?

I have 2 RabbitMQ clusters in separate datacenters. At this moment i need to shovel one of the exchanges from an one rabbit to the other. How can i achieve it?
1
vote
0 answers

RabbitMQ Federation Link Thousands of Connections

I have a RabbitMQ federation setup where the upstream server is not yet turned on, and won't be for some time. The downstream server is still attempting to make connections to the upstream as expected. The problem is that although these connections…
Hendy
  • 11
  • 2
1
vote
0 answers

Why RabbitMQ timeout when publishing (exchange federation in used)?

For background information, we are a retailer company with more than 200 stores. We use rabbitmq federation with 200+ RabbitMQ servers (one server in each store). Each RabbitMQ server has 4 exchanges. So there are around 800 exchanges in…
Tung Nguyen
  • 574
  • 8
  • 16
1
vote
0 answers

rabbitmq federated exchange for scalability

Is it possible to use rabbitmq federated exchange for scalability as explained below: The messages would be published by the application on multiple upstream exchanges working behind a load balancer. These messages published to upstream exchanges…
1
vote
0 answers

Can I achieve Consistency and Partition tolerance over WAN with rabbitmq

RabbitMQ gives two options for distributed systems - Federation and/or shovel which favour availability (AP) over consistency (CP) (and work over WAN); Clustering which favours consistency (CP) over availability (AP) (but doesnt work over WAN). Is…
0
votes
0 answers

RabbitMQ Header Exchange based Shovel

Hello Team, Whats the bets way to solve this problem? Solution 1 is to have mirror queues in vHost 1 for all corresponding destination queues and create a shovel between queues. Is there any alternatives which avoids creating a mirror queue in…
0
votes
1 answer

What are the minimal access rights for the upstream user when using RabbitMQ Exchange Federation

I want to ensure that all users on my RabbitMQ clusters only have the rights they need for their intended purpose. I'm using Exchange Federation between 2 RabbitMQ clusters and I want to restrict the rights of the user on the upstream cluster so…
Edd
  • 8,402
  • 14
  • 47
  • 73
0
votes
1 answer

RabbitMQ: Shovel vs Federation for Microservice Communication

I've spent quite a bit of time trying to figure out whether I should use the RabbitMQ federation plugin or shovel. Basically I have two microservices. I want one of them to send a message to another. Each microservice has a different rabbitMQ…
0
votes
2 answers

How to get rabbitmq federation link status using rabbitmq HTTP calls

Does some one know how can I get the status of the federation links using the RabbitMQ's HTTP APIs? I am able to get the definition of the federation upstream by the following example, but can't find a way to get its status. Call -…
0
votes
1 answer

RabbitMQ - federated queues Vs exchange federation

I have set up a rabbit cluster and I publish messages into a fanout exchange every time something changes in a database. I have dedicated queues bound to this exchange for some of my microservices that consume these updates and I also originally…
Gabe
  • 5,997
  • 5
  • 46
  • 92
0
votes
0 answers

How to set no-ack on virtual hosts in RabbitMQ?

My server which uses the federation plugin has 4 virtual channels, each set to 10 prefetch. When 10 messages are not acknowledged the server is stuck. How can I set no-ack to the virtual host?
Tom
  • 9,275
  • 25
  • 89
  • 147