pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] nkurihar opened a new pull request #910: Fix status code when partitioned-topic unsubscribe fails
Date Thu, 01 Jan 1970 00:00:00 GMT
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

Mime
View raw message