mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 09:47:56 -05:00
A subscriber with a Lambda target now applies its RetryPolicy and OnFailureConfiguration. A failed invocation, a function error or a function that does not exist, is retried after about 0.5 s and then four times longer each time, until MaxRetryAttempts is used up or the next retry would start after MaxEventAgeInSeconds from the event's ingestion; a FIFO subscriber's later batches wait meanwhile. The batch then goes to the OnFailureConfiguration queue as one record. Pending retries are kept in memory, and a reset or deleting the subscriber drops them. CreateSubscriber and UpdateSubscriber refuse an OnFailureConfiguration queue of another Region or account, or an ARN outside the model's queue pattern. A FIFO dead-letter queue gets the first event's group id and event id as its message group and deduplication ids.