mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
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:
1 parent
265344e304
commit
86072aaa84
7 files changed
+291
-30
No files matched your search
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user