bschofield commented on issue #6785:
URL: https://github.com/apache/pulsar/issues/6785#issuecomment-619525256


   Take a look at the internals of the `MessageId` class. It keeps a reference 
to a `std::string`. That means that to set a topic name, a `std::string` has to 
exist somewhere in memory. You can't just create a `std::string` inside the C 
wrapper function, because when it goes out of scope the destructor gets called. 
What is your proposed solution to this?


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