lizhimins commented on PR #10279:
URL: https://github.com/apache/rocketmq/pull/10279#issuecomment-4841821558

   当前 proxy 的 auto-renew 机制使用一个短 invisibleTime(默认 60s),然后通过周期性 
changeInvisibleTime RPC 来续期。这带来三个问题:handle 映射的内存开销与并发复杂度、proxy 崩溃后短 handle 
过期导致重复消费、以及持续 RPC 续期的网络开销。本 PR 引入 enableGrpcChannelReceiptHandleRenew 
配置开关,关闭后不再周期性续期,改用 consumer group 的 consumeTimeoutMinute 作为初始 
invisibleTime,从根本上避免了 proxy crash 导致的重复消费。


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