BewareMyPower commented on issue #66: URL: https://github.com/apache/pulsar-client-python/issues/66#issuecomment-1420079946
In C++ we usually don't provide a `toString` method, instead, a `operator<<` is provided so it can be reused to write an object to standard output, files or strings via `std::ostream`. https://github.com/apache/pulsar-client-cpp/blob/63c424555cdb1209c82e2f844d7414c1fc399ef8/lib/MessageId.cc#L121 You can see here for how to convert a `MessageId` to `std::string`: https://github.com/apache/pulsar-client-python/blob/cbd31e75adc592ee16dd1698335f6f34b8fb4844/src/message.cc#L53-L55 -- 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]
