1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
This page will give you some hints on why not all records inserted into your DynamoDB table are reaching your Lambda function: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-errors
It says:
**Before invocation**: If a Lambda event source mapping is unable to invoke the function
due to throttling or other issues, it retries until the records expire or exceed the maximum
age configured on the event source mapping (MaximumRecordAgeInSeconds).
**During invocation**: If the function is invoked but returns an error, Lambda retries
until the records expire, exceed the maximum age (MaximumRecordAgeInSeconds),
or reach the configured retry quota (MaximumRetryAttempts). For function errors,
you can also configure BisectBatchOnFunctionError, which splits a failed batch into
two smaller batches, isolating bad records and avoiding timeouts. Splitting batches
doesn't consume the retry quota.
To improve your resiliency in the above situations, next section on the page "Configuring destinations for failed invocations" proposes options to handle the failed invocations.
Best,
Didier
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago