shirenchuang commented on issue #7398:
URL: https://github.com/apache/rocketmq/issues/7398#issuecomment-1734866543

   > BTW,请问`ExportConfigsCommand`在Idea中调试RocketMQ时如何执行终端命令?非常感谢~
   
   你可以在 MQAdminStartup的main方法中添加一些参数
   
   ```java
       public static void main(String[] args) {
           String namesrv = "-n=127.0.0.1:9876";
           String clusterName = "-c=szz_cluster_a";
   
           //导出Broker配置文件
           args = new String[]{"exportConfigs",namesrv,clusterName};
           main0(args, null);
   
       }
   
   ```


-- 
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]

Reply via email to