xujianhai666 commented on a change in pull request #559:
URL: https://github.com/apache/rocketmq-client-go/pull/559#discussion_r535077817



##########
File path: consumer/push_consumer.go
##########
@@ -692,6 +692,7 @@ func (pc *pushConsumer) pullMessage(request *PullRequest) {
                case primitive.PullNoNewMsg:
                        rlog.Debug(fmt.Sprintf("Topic: %s, QueueId: %d no more 
msg, current offset: %d, next offset: %d",

Review comment:
       I found that u should correct next offset
   ```
                           case NO_NEW_MSG:
                               
pullRequest.setNextOffset(pullResult.getNextBeginOffset());
                               
DefaultMQPushConsumerImpl.this.correctTagsOffset(pullRequest);
                               
DefaultMQPushConsumerImpl.this.executePullRequestImmediately(pullRequest);
   ```




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


Reply via email to