erichare commented on issue #66:
URL: 
https://github.com/apache/pulsar-client-python/issues/66#issuecomment-1420052277

   Awesome, thanks @BewareMyPower . Yep should be pretty straight forward. Only 
immediate question I have - is there actually an existing toString (or similar) 
implementation on the C++ client for MessageId? I looked here: 
https://github.com/apache/pulsar-client-cpp/blob/main/lib/MessageId.cc and 
didnt see it. I guess we could have something like:
   
   ```
       std::string toString() const {
           return std::to_string(impl_->ledgerId_) + ":" + 
std::to_string(impl_-> entryId_) + ":" + std::to_string(impl_->partition_)
       }
    ```
   
   With an added conditional to include the batch index if needed. I just 
wanted to make sure im not missing somewhere where this has already been done.
    
    


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

Reply via email to