aloyszhang opened a new pull request #8818:
URL: https://github.com/apache/pulsar/pull/8818


   
   Fixes #8813
   
   ### Motivation
   
   Currently, getting the partition metadata for a non-existed topic, it 
returns 0 instead of throwing an exception.
   This pr fix this by  throwing an exception.
   
   
   ### Modifications
   
   If no metadata found in global zk, then will check whether the topic is 
exist, if yes, will return 0, otherwise will  throw an exception.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to