Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Simple lambda to replay a sqs dead letter queue's messages into its original queue.

License

Notifications You must be signed in to change notification settings

coveooss/sqs-deadletterqueue-replayer-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

sqs-deadletterqueue-replayer-lambda

Simple lambda to replay a sqs dead letter queue's messages into its original queue.

Usage

Create a new lambda with sqs-deadletterqueue-replayer-lambda.py.

Your lambda's timeout must be at least 30 seconds to work properly.

The lambda must be called with an event like this one :

{
  "target_queue_name": "test-queue",
  "source_queue_name": "test-queue-deadletter"
}

The lambda will attempt to send as many documents as possible from test-queue-deadletter to test-queue. Succesfully sent messages will be deleted from the source queue.

About

Simple lambda to replay a sqs dead letter queue's messages into its original queue.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages