Answer the question
In order to leave comments, you need to log in
How to make interaction between two RabbitMQ?
Hello!
Tell me, maybe someone knows. Producer and Customer are on different physical servers (in different hemispheres) :) The task is to make sure that certain messages are added to the Producer very quickly, and then the local RabbitMQ must send data to Customer RabbitMQ.
I'll try to explain in a different way. There are 5-6 geo-reserved servers. Sometimes they need to throw individual records to a single central server. There are not very many records themselves, but you need to ensure that they are saved as quickly as possible. When writing messages to the local RabbitMQ, the write time is 4-5 ms. To remote - 60-120 ms.
I would like RabbitMQ to be raised locally and centrally. The Producer writes the message to the local RabbitMQ, and the local Rabbit will already send it to the centralized one.
As I understand it, for this task I need the interaction of X producer queue -> 1 customer exchange. But I did not find examples on the Internet for setting up such a configuration, and there are doubts that this is even possible.
Advise plz
Answer the question
In order to leave comments, you need to log in
There is a plugin https://www.rabbitmq.com/federation.html
It allows you to transfer messages between years that are not in the cluster
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question