Automatically delete RabbitMQ queues for Heroku Review Apps
Categories
(Tree Management :: Treeherder: Infrastructure, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: armenzg, Assigned: suyash546)
Details
Attachments
(2 files)
When a Heroku Review App is deleted the Pulse consumers are destroyred but the Pulse Guardian queues keep growing until they get deleted. Meanwhile we receive an email alerting us about it and another one when the queue is deleted.
We would like to auto-destroy the queues when there are no consumers left.
RabbitMQ supports a "TTL" [1] feature for queues that will automatically delete them when there are no consumers for a designated time.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
I suggest you created your own account in https://pulseguardian.mozilla.org
Then try to build a PULSE_URL as explained in the documentation.
You can then run ./manage pulse_listener_tasks
(follow docs to be sure I'm not misleading you) and then check https://pulseguardian.mozilla.org/queues. Then press Ctrl + C to stop the ingestion on your side. You will see the queues still exist in Pulse guardian.
The outcome we want is that once we're not ingesting the queues will auto-delete in Pulse guardian.
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
|
||
Fixed! Thanks Suyash!
Comment 4•5 years ago
|
||
Description
•