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

SQS - Interrupting long-polling #2083

Closed
upsidedownsmile opened this issue Aug 21, 2019 · 1 comment
Closed

SQS - Interrupting long-polling #2083

upsidedownsmile opened this issue Aug 21, 2019 · 1 comment

Comments

@upsidedownsmile
Copy link

According to #655 the only way to interrupt receiveMessage call is by shutting down the client. I've been testing this and I found a problem, in the SQS side the connection will still be "alive" and the next message will be sent through it. For example, if using an AsyncHandler this will trigger the onError method. But no matter how you are receiving messages, the message needs to wait for the visibility timeout to be resent to another subscriber.
I also found this comment that complains about the same thing.

@varunnvs92
Copy link
Contributor

The issue is same as the one reported in aws-sdk-java-v2 repo. Closing this and track it aws-sdk-java-v2 repo
aws/aws-sdk-java-v2#1395

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

No branches or pull requests

2 participants