Skip to content

Conversation

@tomrf1
Copy link
Member

@tomrf1 tomrf1 commented Jan 9, 2026

We have 3 lambdas which process events from DynamoDb streams.
Currently each lambda will retry a failed event 3 times.
We have alarms for when the lambda fails, but not if an event cannot be processed after 3 retries.
The solution here is to add a dead letter queue for each lambda, and a cloudwatch alarm for each queue.
This will mean we receive a notification if an event ends up on the dead letter queue because it cannot be processed.

Tested in CODE by triggering an invalid event and observing the event landing in the DLQ after 3 retries.

@tomrf1 tomrf1 added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Jan 9, 2026
Copy link
Contributor

@AnastasiiaBalenko AnastasiiaBalenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@tomrf1 tomrf1 merged commit 9091b7a into main Jan 9, 2026
60 of 61 checks passed
@tomrf1 tomrf1 deleted the tf-promo-dlq branch January 9, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants