Moving from Classic Mirrored queues to Quorum queues

262 views
Skip to first unread message

Ravindra Reddy Y

unread,
Nov 24, 2022, 9:11:34 AM11/24/22
to rabbitmq-users
Hi All,

I want to move from the classic queues to Quorum queues without touching the producer/consumer applications.

How can I move using RabbitMq Management UI?
Also Is there a way I can export the existing queue definition to create new one without the messages.

Thanks,
Ravindra

Michal Kuratczyk

unread,
Nov 25, 2022, 8:09:21 AM11/25/22
to rabbitm...@googlegroups.com
Hi,

First and foremost: before attempting this, make sure your applications can actually work with quorum queues.
There are subtle differences in some behaviours and there's a feature not supported by quorum queues currently (priority queues).


Definitions can be exported (potentially modified) and imported: https://www.rabbitmq.com/definitions.html

If your applications declare queues, just importing modified definitions won't work, because what the application will try to declare won't match the existing definition. There's a currently somewhat hidden feature to avoid that - when declaring a vhost, you can specify the default queue type. This way if an application tries to declare a queue without specifying the type, it may get a quorum queue instead of a classic queue. Check --default-queue-type in `rabbitmqctl add_vhost` and https://github.com/rabbitmq/rabbitmq-server/pull/5305.

Best,

--
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/aea88838-48a8-4e85-8b68-31a35d79a516n%40googlegroups.com.


--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages