Queues are getting deleted in RabbitMQ #6751
-
So I created some queues with the command below...
But after restarting my machine I see that they are deleted. I created them again and restarted and that occurred again. But exchange declared in a same-ish manner(with rabbitmqadmin) persisted and also queues of the other vhost are still there too... N.B. The persisting queues of the other vhost was created via the management panel. How to solve this issue(without declaring queues after every reboot)...??? EDIT: Also, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your queues have TTL defined for them and messages in them. Durable queues with TTL generally make no sense. Please review what extra arguments you use and why. If you want to track deletion events, see internal events. It should be easy to spot that they happen roughly around the time TTL kicks in after last consumer disconnection. |
Beta Was this translation helpful? Give feedback.
-
I get it, message TTL is not the issue but the |
Beta Was this translation helpful? Give feedback.
I get it, message TTL is not the issue but the
x-expires
argument deletes the queue...