remove idle exchanges and queues from rabbitMQ

131 views
Skip to first unread message

Sini Venugopal

unread,
Mar 8, 2021, 8:42:31 AM3/8/21
to masstransit-discuss
Hi, We have autoscaling enabled on the servers, because of this, the exchanges/queues gets created on demand. When there is a change in the servername, the queue created woul become idle or obsolete when there are no conenctions. Is there a way to delete unwantedor obsolete quues/exchanges via masstransit?

Thank you!

Chris Patterson

unread,
Mar 8, 2021, 9:13:17 AM3/8/21
to masstrans...@googlegroups.com
If you have temporary queue needs for each instance, set them as temporary (autodelete = true, durable = false) and they'll be removed when the instance is stopped.

Your load balancing / competing consumers should be on the same queue, which shouldn't be an issue.


On Mon, Mar 8, 2021 at 7:42 AM 'Sini Venugopal' via masstransit-discuss <masstrans...@googlegroups.com> wrote:
Hi, We have autoscaling enabled on the servers, because of this, the exchanges/queues gets created on demand. When there is a change in the servername, the queue created woul become idle or obsolete when there are no conenctions. Is there a way to delete unwantedor obsolete quues/exchanges via masstransit?

Thank you!

"Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender, delete the material from any computer and destroy all copies. Nothing in this email message or any attachment hereto constitutes a binding offer, acceptance, agreement or legal commitment by Qwikcilver Solutions Private Limited unless the same is explicitly stated in the email message."

"Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender, delete the material from any computer and destroy all copies. Nothing in this email message or any attachment hereto constitutes a binding offer, acceptance, agreement or legal commitment by Qwikcilver Solutions Private Limited unless the same is explicitly stated in the email message."

--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/2e7c542c-3b77-4b5b-9833-583da742c2aan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages