Try to implement application-level queue length limits. Let's say increase / decrease the Redis key and check its maximum value. It may not be as accurate as RabbitMQ's own mechanism, but it works fine in a separate queue / exchange, without affecting others in one broker.
PS In addition, in some tasks RabbitMQ is not the best choice, and old-school relational databases (MySQL, PostgreSQL or whatever you like) work best, but RabbitMQ can still be used as a bus event.
source
share