RongtongJin commented on code in PR #7584: URL: https://github.com/apache/rocketmq/pull/7584#discussion_r1405783024
########## namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java: ########## @@ -71,8 +74,16 @@ public class DefaultRequestProcessor implements NettyRequestProcessor { protected final NamesrvController namesrvController; + protected Set<String> configBlackList = new HashSet<>(); + public DefaultRequestProcessor(NamesrvController namesrvController) { this.namesrvController = namesrvController; + configBlackList.add("configBlackList"); + configBlackList.add("configStorePath"); + configBlackList.add("kvConfigPath"); + configBlackList.add("rocketmqHome"); + String[] configArray = namesrvController.getNamesrvConfig().getConfigBlackList().split(";"); + configBlackList.addAll(Arrays.asList(configArray)); Review Comment: It would be better to put these lines to a method. -- 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: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org