Durable Queue On expirable queue #11368
Unanswered
alouani-youssef
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello RabbitMQ community I have been looking at implementing TTL to the queues themselves.
while searching more I have found within the rabbitmq official documentation the following sentence:
Setting TTL (expiration) on queues generally only makes sense for transient (non-durable) classic queues. Streams do not support expiration.
in the following page: https://www.rabbitmq.com/docs/ttl#queue-ttl
I don't think this makes sense, because of the following use case.
I have a queue for each worker, every worker should expire in case of inactivity within a specific amount of time
So it would be better to implement queue TTL to manage my rabbitMQ cluster. but at the same time, I need my queue to be durable in case of any restart of failure of the MQ cluster.
in this case, my workflow should be capable of consuming tasks while being alive even in case of server restart.
I am wrong with this analogy.
thank you.
Beta Was this translation helpful? Give feedback.
All reactions