I was running into issues with this paling failing with a AWS.SimpleQueueService.BatchEntryIdsNotDistinct error. After some digging it appears (based on my limited knowledge) that this is a threading issue with the AWS SDK. Adding some debugging output to the AWS SDK this is the list of message IDs that are being attempted to be deleted from SQS:
rather than the 10 unique ones it received. It looks like this can be fixed when we get to Ruby >= 2. I could be completely wrong on the actual issue, but it does appear this plugin is currently broken but processing messages one at a time does resolve the issue.
I was running into issues with this paling failing with a
AWS.SimpleQueueService.BatchEntryIdsNotDistinct
error. After some digging it appears (based on my limited knowledge) that this is a threading issue with the AWS SDK. Adding some debugging output to the AWS SDK this is the list of message IDs that are being attempted to be deleted from SQS:rather than the 10 unique ones it received. It looks like this can be fixed when we get to Ruby >= 2. I could be completely wrong on the actual issue, but it does appear this plugin is currently broken but processing messages one at a time does resolve the issue.
More discussion greatly appreciated!