Closed jage closed 7 years ago
I need to rework the specs, this only worked on my machine because the queue was kept between spec-runs. Don't expect any changes to the library code though.
General question, if the queue is already defined, will this change current limits or do we need to redefine our queues?
General question, if the queue is already defined, will this change current limits or do we need to redefine our queues?
We need to redefine them. Both good and bad I guess. It will be a very explicit switch, but might require a "migration queue" to avoid loosing messages when deploying.
Generally I think it's important to think how the routing works, that we publish to exchanges and subscribe to queues, if the consumer wants a different limit on the queue it needs to first bind a new queue, then remove the old one. Thus the publisher is not affected at all.
https://www.rabbitmq.com/maxlength.html