-
Notifications
You must be signed in to change notification settings - Fork 582
Don't panic when cancelling an unknown consumer #525
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
Comments
@acogoluegnes and I decided to consider making |
acogoluegnes
added a commit
that referenced
this issue
Mar 22, 2019
acogoluegnes
added a commit
that referenced
this issue
Mar 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
See https://github.com/spring-projects/spring-integration/issues/2658#issuecomment-474452945 for background. Kudos to @bojanv55 for solid investigative work.
When a user tries to cancel a consumer or when this client receives a
basic.cancel
for a consumer it doesn't recognize, instead of throwing anIOException
it should log a warning and ignore the method. This is what works well for other clients.Note that such scenarios are realistic and have to do with inherently racy consumer state management on server and client ends. Being more defensive and not panicking is the right thing to do.
Per discussion with @acogoluegnes.
The text was updated successfully, but these errors were encountered: