rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
12.31k stars 3.92k forks source link

rabbit_amqqueue: Add `is_feature_used` callback to `transient_nonexcl_queues` depr. feature (backport #12674) #12738

Closed mergify[bot] closed 6 days ago

mergify[bot] commented 6 days ago

Why

Without this callback, the deprecated features subsystem can't report if the feature is used or not.

This reduces the usefulness of the HTTP API endpoint or the CLI command that help verify if a cluster is using deprecated features.

How

The callback counts transient non-exclusive queues and return true if there are one or more of them.

References #12619.


This is an automatic backport of pull request #12674 done by Mergify.