How does Powertools handle fifo queues? #1913
-
I've been reading over the documentation and I cant find an answer. Does Powertools stop processing items after a failed and marks the failed plus all subsequent as failed in its response back to SQS? Ex. r1,r2,r3,r4,r5 is sent. function fails on r3. ReportBatchItemFailures includes r3 as well as r4 and r5. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Not currently, it's a feature gap. Could you open up a feature request so we can prioritise it, please? I can think of a new specialised class to handle FIFO and any special traits in the future. If you'd also like to give this a try, please feel free to send a PR and we can co-author it to get it scheduled for our next release. Revisiting the official Lambda/SQS docs, it does calls this portion out - though there might be instances that ordering/duplicates may not be guaranteed:
https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html Thank you!! |
Beta Was this translation helpful? Give feedback.
-
I've converted this discussion into an issue so we can track it and prioritize it. |
Beta Was this translation helpful? Give feedback.
I've converted this discussion into an issue so we can track it and prioritize it.