提交 920dd314 编写于 作者: Z Zhanhui Li

Fix hard-coded topic/subscription config file path.

上级 b421d48c
......@@ -142,8 +142,8 @@ public class SubscriptionGroupManager extends ConfigManager {
@Override
public String configFilePath() {
//return BrokerPathConfigHelper.getSubscriptionGroupPath(this.brokerController.getMessageStoreConfig().getStorePathRootDir());
return BrokerPathConfigHelper.getSubscriptionGroupPath(System.getProperty("user.home") + File.separator + "store");
return BrokerPathConfigHelper.getSubscriptionGroupPath(this.brokerController.getMessageStoreConfig()
.getStorePathRootDir());
}
@Override
......
......@@ -381,9 +381,8 @@ public class TopicConfigManager extends ConfigManager {
@Override
public String configFilePath() {
// return BrokerPathConfigHelper.getTopicConfigPath(this.brokerController.getMessageStoreConfig()
// .getStorePathRootDir());
return BrokerPathConfigHelper.getTopicConfigPath(System.getProperty("user.home") + File.separator + "store");
return BrokerPathConfigHelper.getTopicConfigPath(this.brokerController.getMessageStoreConfig()
.getStorePathRootDir());
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册