Skip to content

Batch Processing - Why does processing continues when there is an Error? #1784

Answered by dreamorosi
RaphaelManke asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @RaphaelManke thanks for creating this discussion.

The Batch Processing utility hinges on the feature that allows AWS Lambda to report partial failures to its trigger service when processing a batch of items.

When you set a Lambda function to be triggered by SQS messages (feature docs), Kinesis Stream items (feature docs), and DynamoDB Stream items (feature docs) you can configure it to report partial failures in this batch. This signals the Lambda service that one or more items that were marked as failed should be put back into the source and potentially retried later.

For example, let's take the (simplified) example below:

For simplicity we'll assume that we have 2 sequential batche…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RaphaelManke
Comment options

Answer selected by RaphaelManke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants