Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure there is an opportunity to send a retry message when broker no response #9137

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gaoyf
Copy link
Contributor

@gaoyf gaoyf commented Jan 16, 2025

… response

Which Issue(s) This PR Fixes

Fixes #8997

Brief Description

当broker处于半死不活的状态时(gc,os内存不足等等原因),此时表现无法及时响应客户端的请求。
针对客户端同步发送消息,默认是带有重试策略的。可是此种情况下,客户端可能并没有重试的机会。
详见分析

How Did You Test This Change?

新增的参数sendMsgMaxTimeoutPerRequest,默认情况下不会影响现有的重试逻辑。
模拟broker暂停的情况,并针对各种情况进行了测试,情况如下:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant