fix(lambda): back off DynamoDB Streams retries and expire aged records (#3613)

* fix(lambda): back off DynamoDB Streams ESM retries and enforce MaximumRecordAgeInSeconds

* fix(lambda): treat unset MaximumRecordAgeInSeconds as no age cutoff

Keep expired records retrying when no finite Lambda age limit is configured.
This commit is contained in:
Chris Jovanovski authored and GitHub committed 2026-09-15 21:46:27 -04:00
1 parent 265344e304
commit 86072aaa84
7 files changed
+291 -30

No files matched your search

+2
View File
@@ -753,6 +753,8 @@ aws lambda update-function-code \
Connect Lambda to SQS, Kinesis, or DynamoDB Streams. Self-managed Apache Kafka event source mappings are accepted, validated, persisted, and returned on the wire, but Floci does not run an active Kafka consumer poller:
For DynamoDB Streams mappings, Floci retries failed batches with exponential backoff, honors `MaximumRetryAttempts` and `MaximumRecordAgeInSeconds`, and sends discarded batches to configured SQS or SNS `DestinationConfig.OnFailure` destinations.
```bash
# SQS trigger
QUEUE_ARN=$(aws sqs get-queue-attributes \