BewareMyPower opened a new pull request, #331: URL: https://github.com/apache/pulsar-client-cpp/pull/331
### Motivation This is an additional fix to #329 because I still observed logs like: ``` Closing consumer for topic 0x6000028e0648 Closing producer for topic 0x600001210b88 ``` It's because `HandlerBase::topic_` field is protected and could be accessed directly from the derived classes. ### Motivation In `HandlerBase`, make `topic_` private and add two methods `topic()` and `getTopicPtr()` to get the reference to the string and the shared pointer. `getTopicPtr()` should only be called when being passed to `MessageImpl::setTopicName`. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
