Purge queue contents
Overviewâ
In rare cases we may need to quickly remove the entire contents of a queue, for example to clear queued investigations for a customer or recording events stuck in processing. We have the option to purge a queue, causing all messages in it to be immediately removed.
Note: purging should be used with extreme caution and only as a last resort, due to being indiscriminate in affecting all messages in the queue from all customers.
Purging a queue in AWSâ
- Log in to AWS production account with 'DeveloperAccess' role
- Go to Simple Queue Service (SQS) in the correct region
- Choose the correct queue
- Click the 'Purge' button in the top toolbar and confirm the purge
Restarting the service in GCPâ
- Go to Pub/Sub service page in GCP portal in the project for the relevant region. For example https://console.cloud.google.com/cloudpubsub/topic/list?referrer=search&project=backend-us-east4
- Choose the correct queue
- Click the subscription in the queue to view its details
- Click the 'Purge messages' button in the top toolbar and confirm the purge