cckellogg commented on a change in pull request #214: Fix Consumer Seek not 
returning a potential error
URL: https://github.com/apache/pulsar-client-go/pull/214#discussion_r407738309
 
 

 ##########
 File path: pulsar/consumer_impl.go
 ##########
 @@ -283,8 +284,9 @@ func (c *consumer) Nack(msg Message) {
 }
 
 func (c *consumer) NackID(msgID MessageID) {
-       mid, ok := c.messageID(msgID)
-       if !ok {
+       mid, err := newMessageIDFromInterface(msgID, len(c.consumers))
 
 Review comment:
   I'm confused what is the missing error?

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


With regards,
Apache Git Services

Reply via email to