It would be great to be able to manually

It would be great to be able to manually pause/resume queues (collect from producers but pause dispatch to consumers) and also to purge queue messages. This help both in development and in production e.g. maintenance/migration, disaster recovery, or when dependent services are experiencing downtime. Queues are good for decoupling services for this very reason, and it's good to be able to intervene in emergencies!
2 Replies
Pranshu Maheshwari
thanks, this is helpful! message purging is on the roadmap for later this year. Are you trying any workarounds at the moment? One option could be to manually disconnect your consumer from the queue when you need a pause.
Brett Willis
Brett Willis4mo ago
Thanks, yes I noticed that disconnecting the consumer works too. It gets reconnected when redeploying unless wrangler.toml is updated, but it definitely works as a workaround.
Want results from more Discord servers?
Add your server