You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "humkum (via GitHub)" <gi...@apache.org> on 2024/12/30 10:07:16 UTC
[D] 发送因为响应超时导致无法重试的问题 [rocketmq]
GitHub user humkum created a discussion: 发送因为响应超时导致无法重试的问题
目前发送请求和重试发送是共用的同一个超时时间,重试的超时时间为总的时间减去之前请求的耗费时间。这样如果因为单个 broker 组响应超时,第一次发送请求超时后,就没有时间重试到其他 broker 组了。
是否考虑客户端生产重试不复用原有超时时间,或是增加一个每次请求的超时时间配置,用户可以自行配置。
GitHub link: https://github.com/apache/rocketmq/discussions/9089
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] 发送因为响应超时导致无法重试的问题 [rocketmq]
Posted by "humkum (via GitHub)" <gi...@apache.org>.
GitHub user humkum edited a discussion: 发送因为响应超时导致无法重试的问题
目前发送请求和重试发送是共用的同一个超时时间,重试的超时时间为总的时间减去之前请求的耗费时间。这样如果因为单个 broker 组响应超时,第一次发送请求超时会耗费掉所有时间,就没有时间重试到其他 broker 组了。例如超时时间为 3s,第一次请求一直没响应,3s 超时后,第二次重试的超时时间就为 0s 了。
是否考虑客户端生产重试不复用原有超时时间,或是增加一个每次请求的超时时间配置,用户可以自行配置。
GitHub link: https://github.com/apache/rocketmq/discussions/9089
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org