Overview
This document provides an overall introduction to a feasible scheme for migrating self-built/competitor RabbitMQ clusters to TDMQ for RabbitMQ clusters.
Scheme Description: Dual-Producer Dual-Consumer
This scheme is simple, clear, and easy to operate, with no data heap, ensuring timely message consumption.
Directions are as follows:
1. Purchase a RabbitMQ cluster on Tencent Cloud. In the initial status, producer and consumer operations are performed on the old cluster. Once the new cluster is ready, complete the metadata migration of RabbitMQ.
2. Deploy a new consumer side to the new cluster and the dual-producer mode is enabled.
3. Deploy a new producer side and gradually switch the traffic to the new cluster to enable the dual-producer dual-consumer mode.
4. Stop the production traffic of the old cluster, temporarily retain the consumer side of the old cluster, and enter the single-producer dual-consumer mode.
5. After the data on the old cluster is consumed and confirming that there are no heaped messages, disable the old consumption service to complete the migration process.
Was this page helpful?