mirror of
https://github.com/floci-io/floci.git
synced 2026-12-06 11:38:06 -05:00
A queue target used to log and drop an event whose delivery failed. A queue now gets the events of one publish in batches of up to MaxBatchSize, and a failed batch is retried and dead-lettered as a function's is. The first attempt still runs before PutEvents returns; only the retries run in the background, and a FIFO subscriber's later batches wait behind one being retried. A subscriber deleted or reset during the first attempt sends no retries or dead letters. The dead-letter record's error code follows the stage that failed: CUSTOMER_VALIDATION for a DelaySeconds that is no integer or a batch the queue refuses whole, RESOURCE_NOT_FOUND for a missing queue, and PARTIAL_BATCH_FAILURE when the queue refuses some entries. An expression with no value now leaves its parameter out, and a standard dead-letter queue gets the first event's group id.