dongeforever commented on a change in pull request #1149: [issue##1147]Broker
will report Exception if open the aclEnable and enableDLegerCommitLog flag at
the same time.
URL: https://github.com/apache/rocketmq/pull/1149#discussion_r274236278
##########
File path: acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java
##########
@@ -139,4 +146,30 @@ public static boolean isMinus(String minus) {
}
}
+ public static RPCHook getAclRPCHook(String fileName) {
+ JSONObject yamlDataObject = null;
+ try {
+ yamlDataObject = AclUtils.getYamlDataObject(fileName,
+ JSONObject.class);
+ } catch (Exception e) {
+ e.printStackTrace();
+ return null;
Review comment:
use logger instead of print
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services