Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max max_messages configurable #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jlambert121
Copy link

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:

0736bcf8-ae4b-45d6-b628-eab3db875214
8eab91cb-7c20-4100-9b99-8458370d9535
8eab91cb-7c20-4100-9b99-8458370d9535
8eab91cb-7c20-4100-9b99-8458370d9535
7e3ba44f-c43f-48d9-ac56-49b824942388
7e3ba44f-c43f-48d9-ac56-49b824942388
7e3ba44f-c43f-48d9-ac56-49b824942388
34fe6fdd-1cce-4321-833f-8d35368e982a
34fe6fdd-1cce-4321-833f-8d35368e982a
34fe6fdd-1cce-4321-833f-8d35368e982a

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant