[Feature request] Temporarily pause a queue

When a queue handler goes into maintenance mode, for example the database to which it is currently writing cannot be accesses, one of the easiest ways to achieve resiliency is simply temporarily pause the queue processing.
This will make all messages accumulate in the queue, so nothing is being lost, and only when the service is live again, the queue can be resumes and everything will be processed and stored into db.
I’d love to have the ability to pause a queue from the UI, possibly with some additional settings like:

  • Auto resume at a given time
  • Return error on enqueue if the queue has over x messages (to avoid having a queue that can’t be handled after it is being resumed)
1 Like

I’m needing this same functionality as well, for now I think I’ll just disconnect the consumer but would’ve been good to pause the queue by only toggling a switch.