lampnick commented on issue #754:
URL:
https://github.com/apache/rocketmq-client-go/issues/754#issuecomment-1007110017
> > @lampnick Thank your report, Could you tell me how to reproduce this
problem?
>
> 1、RocketMQ broker topic has 32 queue. 2、Only have 4 client of one group.
3、Send 5000 messages every hour average. 4、Maybe it's appear after two days.
The problem code in rocketmq-client-go/v2/consumer/process_queue.go:292
func (pq *processQueue) getMessages() []*primitive.MessageExt {
select {
case <-pq.closeChan:// This line is ours simple solution.
return nil
case result := <-pq.msgCh://this line will block.
return result
}
}
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]