This appears to only happen when long polling the queue for messages, and then batch deleting the messages. Only occurs when there is >1 message returned from the receiveMessage() call (aka - deleteMessageBatch() works fine if there is only message to delete it seems)
I considered it may be an implementation issue on my side, however; the code works as expected against live AWS SQS. Which leads me to believe it is an issue with gosqs
notes
deleteMessageBatch() works when there <1 message to delete
deleteMessage() called for each message received works fine
same code works as expected against live AWS SQS without change
goaws is throwing an error when attempting to batch delete.
When using the javascript AWS-SDK (aws-sdk@2.268.1), and invoking
sqs.deleteMessageBatch()
against goaws running in docker - goaws throws an error:This appears to only happen when long polling the queue for messages, and then batch deleting the messages. Only occurs when there is >1 message returned from the
receiveMessage()
call (aka -deleteMessageBatch()
works fine if there is only message to delete it seems)I considered it may be an implementation issue on my side, however; the code works as expected against live AWS SQS. Which leads me to believe it is an issue with gosqs
notes
deleteMessageBatch()
works when there <1 message to deletedeleteMessage()
called for each message received works fine