提交 fa85abcd 编写于 作者: Y yukon

[ROCKETMQ-153][HOTFIX] Fetch name server address dynamically.

上级 4df3155b
......@@ -223,7 +223,7 @@ public class MQClientInstance {
this.serviceState = ServiceState.START_FAILED;
// If not specified,looking address from name server
if (null == this.clientConfig.getNamesrvAddr()) {
this.clientConfig.setNamesrvAddr(this.mQClientAPIImpl.fetchNameServerAddr());
this.mQClientAPIImpl.fetchNameServerAddr();
}
// Start request-response channel
this.mQClientAPIImpl.start();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册