Skip to content
Discussion options

You must be logged in to vote

Even though RabbitMQ's implementation of queue TTL uses a fairly reasonable definition of when a queue is in use or has not been in used recently, TTL is a feature that means that data will be automatically deleted. If you are not OK with that, do not use TTL.

Not only queues have multiple properties that control their lifecycle, they can be deleted programmatically by any app you want, using any condition you want. In fact, that's how 99.99% of queue deletions happen.

"The queue is empty" is a highly volatile condition, it may be empty now and it is not in a millisecond. A much better — yet still not entirely surprise-free even then — approach would be to delete it after a certain period…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
Converted from issue

This discussion was converted from issue #10963 on April 10, 2024 15:47.