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 2017/11/17 19:54:30 UTC
[GitHub] nkurihar opened a new pull request #910: Fix status code when partitioned-topic unsubscribe fails
nkurihar opened a new pull request #910: Fix status code when partitioned-topic unsubscribe fails
URL: https://github.com/apache/incubator-pulsar/pull/910
### Motivation
Admin API returns 500 when partitioned-topic unsubscribe fails even though NOT_FOUND or PRECONDITION_FAILED (subscription has active connected consumers) cases.
### Modifications
Modify `PersistentTopics` to return appropriate status code according to exceptions.
### Result
Admin API can return NOT_FOUND or PRECONDITION_FAILED when partitioned-topic unsubscribe fails.
----------------------------------------------------------------
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