aws-samples / aws-serverless-workshops

Code and walkthrough labs to set up serverless applications for Wild Rydes workshops
http://wildrydes.com
Apache License 2.0
4.17k stars 2.6k forks source link

Error handling with checkpoint and bisect on batch retries do not work #332

Open SilverSpirit opened 1 year ago

SilverSpirit commented 1 year ago

For the extra credit part of the workshop, specifically https://data-processing.serverlessworkshops.io/stream-processing/05-extra-credit/05-01-eh-cp-bb.html the provided lambda code does not work. The lambda executes once and no retries occur. The earlier section with just bisection works and I can see the calls made to the lambda and the records written to DDB. I am not certain, but it might be due to the place where batchItemFailures is being returned (i.e. not in the main handler).