Ravi Sir's Cards › AWS
Lambda as stream consumer?
This interview card answers: Lambda as stream consumer? Event source mapping polls shards; set batch size, window, and on-failure destination; make handler idempotent. Bisect batch on error to find poison records. Failed batch , then SQS DLQ with the partition key and sequence.
Read card text
What this card says
What it is
Event source mapping polls shards; set batch size, window, and on-failure destination; make handler idempotent.
event source mapping
Why it matters
Bisect batch on error to find poison records.
How / example
Failed batch → SQS DLQ with the partition key and sequence.