zbentley commented on issue #6463:
URL: https://github.com/apache/pulsar/issues/6463#issuecomment-910747646


   Though I guess that raises a larger question: for consumers of the C++ API, 
it might be desirable in some cases to provide a producer object without 
providing the ability to create additional producers/consumers. If that's the 
case, it may make sense to alter the C++ code to use `shared_ptr` and allow 
producers to keep clients alive. Since I don't code to the C++ API, I am not 
sure whether that's reasonable.


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to