HScarb commented on code in PR #7162:
URL: https://github.com/apache/rocketmq/pull/7162#discussion_r1290085349
##########
tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:
##########
@@ -170,8 +170,12 @@ public void execute(final CommandLine commandLine, final
Options options,
Set<String> masterSet =
CommandUtil.fetchMasterAddrByClusterName(defaultMQAdminExt, clusterName);
for (String addr : masterSet) {
- defaultMQAdminExt.createAndUpdateTopicConfig(addr,
topicConfig);
- System.out.printf("create topic to %s success.%n", addr);
+ try {
+ defaultMQAdminExt.createAndUpdateTopicConfig(addr,
topicConfig);
+ System.out.printf("create topic to %s success.%n",
addr);
+ }catch(Exception e){
Review Comment:
indent is not correct
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]