Kinesis Error Handling if using Lambda as a consumer. When using Lambda as a consumer, it becomes very tricky to handle poison messages (or problematic messages) which can cause your Lambda to fail and keep on re-trying the same batch of messages again and again.
In this video, I have covered Lambda Error Handling features and Retries in the case of Kinesis Data Streams.
Do watch the theory part if you are not clear about the tricky issues which you might encounter if you are using Lambda with Kinesis and not using Lambda Error Handling features. The link is below:
Lambda Error Handling with Kinesis (Theory Part): • Lambda Error Handling ...
Kinesis Producer Example (with Java): • Kinesis Data Streams J...
GitHub Repo: github.com/ajaywadhara/Lambda...
Chapters:
00:00 Introduction
01:17 Create Lambda
01:40 Create Kinesis Data Stream
02:07 Add Kinesis Trigger to Lambda
03:29 Send Stream of Messages to Kinesis
05:02 Write Lambda Code
09:45 Test Lambda with Error Handling features
12:26 Add Error Handling options in Lambda
14:19 Test Lambda Again with Split Batch and Retries
16:02 Check SQS (DLQ)
17:40 Complete Flow with Error Handling
#KinesisErrorHandling #LambdaTutorials #AwsTutorials
19 июл 2024