You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In consumer#deleteMessageBatch when batch deleting messages individual failures are not checked. As per the AWS docs "Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200"
Expected behaviour
The return value of this.sqs.deleteMessageBatch in the callback specifies a list of failed IDs, which should be validated to be empty. If any IDs fail, they should either be retried or the error should be surfaced
Actual behaviour
Individual failures are silent
Steps to reproduce
Have AWS return a non-empty Failed array
The text was updated successfully, but these errors were encountered:
Description
In consumer#deleteMessageBatch when batch deleting messages individual failures are not checked. As per the AWS docs "Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200"
Expected behaviour
The return value of
this.sqs.deleteMessageBatch
in the callback specifies a list of failed IDs, which should be validated to be empty. If any IDs fail, they should either be retried or the error should be surfacedActual behaviour
Individual failures are silent
Steps to reproduce
Have AWS return a non-empty
Failed
arrayThe text was updated successfully, but these errors were encountered: