You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "0daypwn (via GitHub)" <gi...@apache.org> on 2023/09/28 09:24:22 UTC
[GitHub] [rocketmq-client-go] 0daypwn commented on issue #1075: After mq message consumption fails, the number of the message in the retry queue continues to grow
0daypwn commented on issue #1075:
URL: https://github.com/apache/rocketmq-client-go/issues/1075#issuecomment-1738794844
我认为你只是使用了错误的 option
https://github.com/apache/rocketmq-client-go/blob/da20ee7b0743a08ecf1fc53403f530b74eea2257/consumer/push_consumer.go#L1399-L1405
WithMaxReconsumeTimes 才是正确的重试次数,默认是-1 无限重试
https://github.com/apache/rocketmq-client-go/blob/master/consumer/option.go#L270-L276
--
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@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org