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


   These are not quite the same bug. The problem with the go/C client is that 
there is no way to set the topic name in a message ID, whereas the problem with 
the Java library is that the method exists but doesn't work. The two bugs 
should probably be tracked separately.
   
   For the go/C client, it's a little more complicated than I thought because 
the C++ `MessageId` type only keeps a reference to the topic name, not the 
actual topic name. So I think the right way to solve this is to extend out the 
go struct to include both the message ID pointer, and a C string containing the 
topic name. That's more work than I thought so I might not get to it, but I'll 
take a look if I have chance.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to