duhenglucky commented on issue #4742:
URL: https://github.com/apache/rocketmq/issues/4742#issuecomment-1204829221

   @mz0113 
对代码的分析非常的细致,上面的问题确实存在,考虑到重置位点这个运维动作,并不是非常经常性的动作,但是位点的提交却是一个比较经常发生的行为,所以这里没有加一些更为复杂的逻辑去严格控制位点重置的有效性,可以通过多次重置来进行补偿,当然这个逻辑确实值得优化,比如将需要重置的位点放到服务端,替换掉客户端请求的位点,有兴趣的话,欢迎提交PR做一些尝试来进行优化。


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

Reply via email to