You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/09/16 06:20:06 UTC
[GitHub] [rocketmq] lollipopjin commented on a diff in pull request #5083: [ISSUE #5069] polish the startup of proxy; can specify parameters on the command line of proxy
lollipopjin commented on code in PR #5083:
URL: https://github.com/apache/rocketmq/pull/5083#discussion_r971661609
##########
proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java:
##########
@@ -44,7 +45,7 @@ public class ProxyConfig implements ConfigFile {
private long printJstackInMillis = Duration.ofSeconds(60).toMillis();
private long printThreadPoolStatusInMillis = Duration.ofSeconds(3).toMillis();
- private String nameSrvAddr = "";
+ private String nameSrvAddr = System.getProperty(MixAll.NAMESRV_ADDR_PROPERTY, System.getenv(MixAll.NAMESRV_ADDR_ENV));
Review Comment:
rename nameSrvAddr to namesrvAddr, match the config in brokeConfig.
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org