Files
floci/src/main/java/io/github/hectorvent
BingEdward bcd422ad83 fix(lambda): fail the whole SQS batch on malformed batchItemFailures (#3169)
A ReportBatchItemFailures response with an empty, null or unknown
itemIdentifier, an entry without itemIdentifier, a non-array
batchItemFailures, or invalid JSON deleted every delivered message, so
a broken handler response silently dropped messages instead of
retrying them and letting the RedrivePolicy move them to the DLQ. AWS
treats each of these as a complete batch failure; only empty/null
lists and empty/null responses are a complete success.

Validate the response against the received message IDs before any
delete and route malformed responses through the existing
return-to-queue path. An id naming a filtered-out message stays inert
as before.

Fixes #3152
2026-09-07 13:40:04 -04:00
..