Hello, what is the quickest/fastest way to purge a queue? We are in a situation where our queue has

Hello, what is the quickest/fastest way to purge a queue? We are in a situation where our queue has accumulated too much backlog that our consumer can not cope with it anymore.
We would like to purge the whole queue first as way to mitigate the issue before we look at finding out the underlying issue and work on a long term fix.
Is it a case of deploying a new version of our consumer that just acks the batches with say
ackAll()
?
Or is there an API that can be invoked from outside a worker?
Was this page helpful?