You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/11/25 09:10:14 UTC

[GitHub] [pulsar] nodece edited a comment on issue #12832: go client: message ID serialization / deserialization, then AckID failed

nodece edited a comment on issue #12832:
URL: https://github.com/apache/pulsar/issues/12832#issuecomment-978991893


   @storm-5 You should pass the `msg.ID()` to `consumer.AckID()`, it is working. 
   When you call the `pulsar.DeserializeMessageID(midBytes)` to get the message ID and pass it to ack, it is not working, the `messageID` doesn't include the consumer, you can check out this: https://github.com/apache/pulsar-client-go/blob/master/pulsar/consumer_multitopic.go#L133, maybe we can use the consumer of the current instance.
   
   
   


-- 
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-unsubscribe@pulsar.apache.org

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