Data Replication among different clusters

75 views
Skip to first unread message

Satheesh Kumar

unread,
Feb 15, 2023, 1:35:27 AM2/15/23
to rabbitmq-users
Hi

I have one usecase. I have two rabbitmq instances running in different clusters on different servers.

Consider the following scenario: I am publishing Cluster A, and I want the same messages replicated to Cluster B, which is deployed on a different server.
I attempted to use the federation plugin. Is this the correct way to replicate the data, or is there another way?

Michal Kuratczyk

unread,
Feb 15, 2023, 6:30:46 AM2/15/23
to rabbitm...@googlegroups.com
Hi,

If you just want to have a copy of the message(s) in the second cluster, you can for example deliver it two an additional queue in cluster A (additional binding) and then use shovel to move messages from that queue. However, the fact that the message was processed in cluster A won't be transferred to cluster B - cluster B would potentially process the same messages again.

If you want this to maintain a warm standby for disaster recovery purposes, where the knowledge that a message was already consumed in cluster A is also replicated to cluster B to prevent processing it again (to the extent possible in a disaster recovery scenario), the solution is Warm Standby Replication, a commercial feature:

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d4d7487f-6c23-4d0f-aa6b-acd0dddc877en%40googlegroups.com.


--
Michał
RabbitMQ team

Satheesh Kumar

unread,
Feb 17, 2023, 2:54:09 AM2/17/23
to rabbitmq-users
Hi Michal

In my first cluster data was publishing to different topics and i want those topics and to be replicated other server cluster.
I tried to using federation plugin, but not able to see any any messages in other server
Reply all
Reply to author
Forward
0 new messages