chaserxin opened a new issue #3742:
URL: https://github.com/apache/rocketmq/issues/3742
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
When I start a DefaultMQProducer, I call the setMqClientApiTimeout()
method to set the value of mqClientApiTimeout to 10s, but the
getTopicRouteInfoFromNameServer() method times out after 3s(default value):
invokeSync call timeout
- What did you expect to see?
Successful execution within 10s or timeout after 10s
- What did you see instead?
It timed out in 3s(default value)
2. Please tell us about your environment:
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions how to fix, etc):
The mqClientApiTimeout param is added from this MR: #3313, But he forgot
that the cloneClientConfig() and resetClientConfig() methods in the class also
need to be set value, this will cause mqClientApiTimeout set at startup of
DefaultMQProducer not to take effect
--
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]