xujianhai666 commented on a change in pull request #106: [ISSUE #105] Add 
PullConsumer. resolve #105
URL: https://github.com/apache/rocketmq-client-go/pull/106#discussion_r301871168
 
 

 ##########
 File path: api.go
 ##########
 @@ -54,7 +54,11 @@ type PullConsumer interface {
        Shutdown() error
        Pull(context.Context, string, consumer.MessageSelector, int) 
(*primitive.PullResult, error)
        PullFrom(context.Context, *primitive.MessageQueue, int64, int) 
(*primitive.PullResult, error)
-       // only update in memory
-       UpdateOffset(primitive.MessageQueue, int64) error
+       CurrentOffset(queue *primitive.MessageQueue) (int64, error)
 
 Review comment:
   @wenfengwang 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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to