Search code examples
rabbitmqerlang

How I find the distributed protocol it is using in RabbitMQ?


RabbitMQ support two distributed protocols, one is "mirrored queues", the other is "quorum queues".

How I find the distributed protocol it is using in RabbitMQ?

Can I get it by CLIs in RabbitMQ,such as rabbitmqctl/rabbitmq-diagnostics?


Solution

  • What you describe is defined at queue level.

    So you need to check the queues information.

    If using rabbimtqctl, you should check list_queues and specifically the queue type (classic or quorum). If classic queue, check arguments for replication information