You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/20 09:27:02 UTC
[GitHub] massakam opened a new pull request #1256: Fix bug that consumer which specify incorrect subscription hangs up w?
massakam opened a new pull request #1256: Fix bug that consumer which specify incorrect subscription hangs up w?
URL: https://github.com/apache/incubator-pulsar/pull/1256
?hen subscription_auth_mode is Prefix
### Motivation
When `subscription_auth_mode` is `Prefix`, a consumer which use a subscription name that does NOT start with the auth role name hangs up forever without error.
cf. #899
### Modifications
The cause of this issue is that ServerCnx is not handling the exception that is thrown if the subscription name is incorrect.
I have modified ServerCnx to catch the exception and return an error to the client.
### Result
If an incorrect subscription name is specified, subscribing will immediately fail.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services