Skip to content

Seventh-State/rabbitmq-deprecate-classic-queues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ Deprecate Classic Queues

With the emergence of Quorum Queues in RabbitMQ 3.8.x, operators are now seeking means of being able disable the use of Classic Queues within their RabbitMQ environments with minimal service impact. This plugin allows operators to disable the use of Classic Queues on RabbitMQ installations.

NOTE:

  • For use on clustered environments, this plugin must be activated/enabled on ALL cluster nodes.
  • Only Classic Queues creation through AMQP (by a client application over TCP/IP) will be disabled.
  • RabbitMQ Management UI overrides this plugin, hence Classic Queues can still be created from the UI (e.g. for test purposes by the administrator)

Usage

  1. Download the rabbitmq_deprecate_classic_queues-<VERSION>.ez file from the project's releases page.
  2. Copy the rabbitmq_deprecate_classic_queues-<VERSION>.ez to the RabbitMQ's installation plugin directory
cp rabbitmq_deprecate_classic_queues-3.8.0.ez  <RABBITMQ-HOME-PATH>/rabbitmq_server-3.8.14/plugins/
  1. To deprecate classic queues, enable the plugin
rabbitmq-plugins enable rabbitmq_deprecate_classic_queues

Testing

To execute automated tests, close the plugin and run the following command:

make tests

Future work

  • Support for native disabling of classic queues (or mirroring only) in RabbitMQ core. e.g. rabbitmq/rabbitmq-server#2810
  • Support to disable classic queues from the RabbitMQ Management UI/plugin

LICENSE

(c) Erlang Solutions Ltd, 2021

https://www.erlang-solutions.com/

About

Plugin to Deprecate/Disable Classic Queues

Resources

Stars

Watchers

Forks

Packages

No packages published