jiazhai opened a new pull request #2346: Issue #2330: change getTopicName in 
MultiTopicsConsumer
URL: https://github.com/apache/incubator-pulsar/pull/2346
 
 
   ### Motivation
   
   `getTopicName` in `TopicMessageIdImpl` and `TopicMessageImpl` is some kind 
of confusing. 
   Developer may mis-use it.  
   
   ### Modifications
   
   change method `getTopicName` to let it return topic name without partition.
   add method `getTopicPartitionName`, which return topic name with partition 
part.
   
   ### Result
   
   More clear of the method names.
   Unit-Tests all pass.
   Issue #2330 get fixed.

----------------------------------------------------------------
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