0

If I enable Bisect on Function Error on AWS Lambda and lets say I get a batch of 100 records. Lets assume I am looping thru the records and publishing them to SNS topic. Now lets say the 51st record ends up in throwing an exception. Now the batch of 100 will get split into 2 of 50 records each. But this time, I will get all the records again and I will end up processing the first 50 records again and publish them to the SNS topic 2nd time right?

Am I missing anything?

I was expecting some sort of transactional behavior where either all records get published to SNS in a batch or none. But I think it is a wrong expectation

0 Answers0