tongueroo / jets-sqs-dead-letter

Jets SQS Dead Letter Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jets SQS Example with Dead Letter Queue

BoltOps Badge

Answers Jets Community Question: How to properly configure dead letter queue for a particular queue?

Test

Deploy app:

jets deploy

Grab the generated SQS queue url from the SQS console. Can test with aws sqs send-message. Example:

QUEUE_URL=https://sqs.us-west-2.amazonaws.com/112233445566/demo-dev-HardJob-T634PZEAVH62-DeliverSqsQueue-47AEDK3P91CV
aws sqs send-message --queue-url $QUEUE_URL --message-body '{"test": "hello world"}'

Check the Lambda function demo-dev_hard-job_deliver logs for the event payload.

About

Jets SQS Dead Letter Example


Languages

Language:Ruby 100.0%