copyright | lastupdated | keyowrds | subcollection | ||
---|---|---|---|---|---|
|
2025-03-25 |
migrate, classic, quorum |
messages-for-rabbitmq |
{{site.data.keyword.attribute-definition-list}}
{: #migrating_classic_quorum}
Starting {{site.data.keyword.messages-for-rabbitmq_full}} version 4, Mirrored(HA) Classic Queues is deprecated. Customer are requested to use Quorum Queues, which was introduced in RabbitMQ v3.8. You can choose one of the following methods during the major version upgrade from v3.13 to v4 of {{site.data.keyword.messages-for-rabbitmq}}.
{: #method1-same-instance}
- Stop the publishers and subscribers that are connected to the Classic Queue.
- Create a new temporary quorum queue in the vhost, same as the Classic Queue.
- Configure a temporary Shovel to move any messages from the old Classic Queue to the new temporary Quorum Queue.
- After all the messages are moved to the temporary quorum queue, delete the Shovel.
- Delete the source Classic Queue. Then, recreate a Quorum Queue with the same name and bindings as the source Classic mirrored queue in the same vhost.
- Create a new Shovel to move the messages from the temporary Quorum Queue to the new Quorum Queue.
- After all the messages are moved to the new Quorum Queue, delete the Shovel.
- Restart the publishers and subscribers.
{: #method2-separate-instances}
To perform method 2 using the Shovel plug-in, follow the steps in the Shovel Plugin documentation.