RabbitMQ backing up messages on a specific queue

I have a service that consumes messages from a RabbitMQ queue (dispatch to the queue is done through a thread exchange). Assuming a service could theoretically fail and lose its state, the ability to back up all messages for disaster recovery comes in handy.

The first idea that comes to mind is to add another binding for topic exchange so that messages are also sent to another queue and create a custom service to back up messages that will listen on that queue. But that sounds like a potential reimagining of the wheel. Is there an easier way to do this with RabbitMQ (plugin / existing service / etc)?

+3


source to share


2 answers


Found out that it is possible to do this with a combination of firehose and track the plugin .



+1


source


a RabbitMQ cluster as stated in the Clustering Guide and Highly Available Queues will do what you want in the right direction.



0


source







All Articles