codelipenghui opened a new pull request #3111: Improve get topic reference
URL: https://github.com/apache/pulsar/pull/3111
 
 
   ### Motivation
   
   Create a partitioned topic, before client use this topic or create a 
subscription on this topic, when get stats of internal topic, will get `Topic 
not found` error.  But actually partitioned topic is already created, 
   internal topic have not been generated yet.
   
   ### Modifications
   
   Add following check:
   
   1. getTopicReference() on a partitioned internal topic and partitioned topic 
is not exist will get `Partitioned Topic not found`
   2. getTopicReference() on a partitioned internal topic, partitioned topic is 
exist but internal topics not exist will get `Internal topics have not been 
generated yet`

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to