提交 15af63e2 编写于 作者: Y yukon

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

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