Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Additional SQS retry strategy for failed batches

Open
#185 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, javascript
Domain
cloud

Research direction

Start by locating the failedBatchReprocessingLambda and the existing SNS failure-event handling. Trace how failed batches are received and retried, then determine how both SNS and SQS event shapes should be supported while preserving immediate failure notification and delayed reprocessing. Done means the Lambda handles the requested SQS subscription flow and its behavior is covered by the repository's existing tests.

Written by the indexing model from the issue text.

Description

The failedBatchReprocessingLambda provides for the option of subscribing to an SNS topic to reprocess failed batches.

I would like to defer attempts to re-process failed batches, for example during Redshift Maintenance Windows where immediately re-attempting to re-process batches will not make sense. There are SNS delivery policies such as minimum delay that could achieve this aim. The challenge is that I would like a subscriber that receives the failure event without delay but re-process the batch with a delay.

This could be achieved by subscribing an SQS queue to the subscriber and enhancing the failedBatchReprocessingLambda to be able to process SQS OR SNS events. In this way I could have one subscriber that is notified without delay and then set a "Delivery Delay" on an SQS queue. I would like to subscribe the failedBatchReprocessingLambda to the SQS queue that contains the original SNS failure message.

Dominant language
JavaScript
Stars
595
Forks
161
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from awslabs/aws-lambda-redshift-loader

All issues in awslabs/aws-lambda-redshift-loader

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.