Project: Apache RocketMQ (App Definition and Development / Streaming & Messaging)
File: CLITools.md

Before introducing the mqadmin management tool, the following points need to be declared: The way of executing a command is:./mqadmin {command} {args} Almost all commands need to attach the -n option to represent the nameServer address, formatted as ip:port; Almost all commands can get help information with the -h option; If the broker address -b option and clusterName -c option are both configured with specific values, the command execution will select the broker address specified by -b option. The value of the -b option can only be configured with a single address. The format is ip:port. The default port value is 10911. If the value of the -b option is not configured, the command will be applied to all brokers in the entire cluster. You can see many commands under tools, but not all commands can be used, only the commands initialized in MQAdminStartup can be used, you can also modify this class, add or customize commands; Due to the issue of version update, a small number of commands may not be updated in time, please read the related command source code to eliminate and resolve the error. <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=132 style='height:99.0pt'> <td rowspan=8 height=593 class=xl68 width=163 style='border-bottom:1.0pt; height:444.0pt;border-top:none;width:122pt'>updateTopic</td> <td rowspan=8 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>Create or update the configuration of topic</td> <td class=xl65 width=149 style='width:112pt'>-b</td> <td class=xl66 width=159 style='width:119pt'>The -b option declares the specific address of the broker, indicating that the broker, in which the topic is located supports only a single broker and the address format is ip:port.</td> </tr> <tr height=132 style='height:99.0pt'> <td height=132 class=xl65 width=149 style='height:99.0pt;width:112pt'>-c</td> <td class=xl66 width=159 style='width:119pt'>The -c option declares the name of the cluster, which represents the cluster in which the current topic is located. (clusters are available through clusterList query)</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=76 style='height:57.0pt'> <td height=76 class=xl65 width=149 style='height:57.0pt;width:112pt'>-p</td> <td class=xl66 width=159 style='width:119pt'>The -p option is used to specify the read and write permission for the new topic (W=2 | R=4 | WR=6)</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=149 style='height:29.0pt;width:112pt'>-r</td> <td class=xl66 width=159 style='width:119pt'>The -r option declares the number of readable queues (default 8)</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=149 style='height:29.0pt;width:112pt'>-w</td> <td class=xl66 width=159 style='width:119pt'>The -w option declares the number of writable queues (default 8)</td> </tr> <tr height=95 style='height:71.0pt'> <td height=95 class=xl65 width=149 style='height:71.0pt;width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>The -t option declares the name of the topic (the name can only use characters^ [a-zA-Z0-9s -] + $)</td> </tr> <tr height=132 style='height:99.0pt'> <td rowspan=4 height=307 class=xl68 width=163 style='border-bottom:1.0pt; height:230.0pt;border-top:none;width:122pt'>deleteTopic</td> <td rowspan=4 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>Delete the topic command</td> <td class=xl65 width=149 style='width:112pt'>-c</td> <td class=xl66 width=159 style='width:119pt'>The -c option specifies the name of the cluster, which means that one of the topic in the specified cluster is deleted (cluster names can be queried via clusterList)</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=95 style='height:71.0pt'> <td height=95 class=xl65 width=149

<td class=xl66 width=159 style='width:119pt'>The -t option declares the name of the topic (the name can only use characters^ [a-zA-Z0-9s -] + $)</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=3 height=287 class=xl68 width=163 style='border-bottom:1.0pt; height:215.0pt;border-top:none;width:122pt'>topicList</td> <td rowspan=3 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>View topic list information</td> <td class=xl65 width=149 style='width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=207 style='height:155.0pt'> <td height=207 class=xl65 width=149 style='height:155.0pt;width:112pt'>-c</td> <td class=xl66 width=159 style='width:119pt'>If the -c option is not configured, only the topic list is returned, and the addition of -c option returns additional information about the clusterName, topic, consumerGroup, that is, the cluster and subscription to which the topic belongs, and no other option need to be configured.</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=3 height=103 class=xl68 width=163 style='border-bottom:1.0pt; height:77.0pt;border-top:none;width:122pt'>topicRoute</td> <td rowspan=3 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>To view topic specific routing information</td> <td class=xl65 width=149 style='width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=3 height=103 class=xl68 width=163 style='border-bottom:1.0pt; height:77.0pt;border-top:none;width:122pt'>topicStatus</td> <td rowspan=3 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>The location of the offset used to view the topic message queue</td> <td class=xl65 width=149 style='width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=3 height=103 class=xl68 width=163 style='border-bottom:1.0pt; height:77.0pt;border-top:none;width:122pt'>topicClusterList</td> <td rowspan=3 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>To view the list of clusters to which topic belongs</td> <td class=xl65 width=149 style='width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=6 height=518 class=xl68 width=163 style='border-bottom:1.0pt; height:380pt;border-top:none;width:122pt'>updateTopicPerm</td> <td rowspan=6 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>This command is used to update read and write permissions for topic</td> <td class=xl65 width=149 style='width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=132 style='height:99.0pt'> <td height=132 class=xl65 width=149 style='height:99.0pt;width:112pt'>-b</td> <td class=xl66 width=159 style='width:119pt'>The -b option declares the specific address of the broker, indicating that the broker, in which the topic is located supports only a single broker and the address format is ip:port.</td> </tr> <tr height=76 style='height:57.0pt'> <td height=76 class=xl65 width=149 style='height:57.0pt;width:112pt'>-p</td> <td class=xl66 width=159 style='width:119pt'>The -p option is used to specify the read and write permission for the new topic (W=2 | R=4 | WR=6)</td> </tr> <tr height=207 style='height:155.0pt'> <td height=207 class=xl65 width=149 style='height:155.0pt;width:112pt'>-c</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the cluster that represents the cluster in which the topic is located, which can be accessed through the clusterList query, but the -b parameter has a higher priority, and if no -b option related configuration is specified, the command is executed on all broker in the cluster</td> </tr> <tr height=23

<td rowspan=5 height=199 class=xl68 width=163 style='border-bottom:1.0pt; height:149.0pt;border-top:none;width:122pt'>updateOrderConf</td> <td rowspan=5 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>The key, value configuration that creates, deletes, and retrieves specific namespaces from nameServer is not yet enabled.</td> <td class=xl65 width=149 style='width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>topic, key</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=149 style='height:29.0pt;width:112pt'>-v</td> <td class=xl66 width=159 style='width:119pt'>orderConf, value</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-m</td> <td class=xl66 width=159 style='width:119pt'>method, available values include get, put, delete</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=4 height=198 class=xl68 width=163 style='border-bottom:1.0pt; height:140pt;border-top:none;width:122pt'>allocateMQ</td> <td rowspan=4 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>Computing load result of load message queue in consumer list with average load algorithm</td> <td class=xl65 width=149 style='width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=95 style='height:71.0pt'> <td height=95 class=xl65 width=149 style='height:71.0pt;width:112pt'>-i</td> <td class=xl66 width=159 style='width:119pt'>IpList, is separated by commas to calculate which message queues these ip unload topic</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=4 height=142 class=xl68 width=163 style='border-bottom:1.0pt solid black; height:106.0pt;border-top:1.0pt;width:122pt'>statsAll</td> <td rowspan=4 class=xl70 width=135 style='border-bottom:1.0pt; border-top:none;width:101pt'>For printing topic subscription, TPS, cumulative amount, 24 hours read and write total, etc.</td> <td class=xl65 width=149 style='width:112pt'>-h</td> <td class=xl66 width=159 style='width:119pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=149 style='height:43.0pt;width:112pt'>-n</td> <td class=xl66 width=159 style='width:119pt'>Declare the service address of the nameServer, and the option format is ip:port</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=149 style='height:29.0pt;width:112pt'>-a</td> <td class=xl66 width=159 style='width:119pt'>Whether to print only active topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=149 style='height:17.0pt;width:112pt'>-t</td> <td class=xl66 width=159 style='width:119pt'>Used to specify the name of the topic</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=207 style='height:155.0pt'> <td rowspan=4 height=326 class=xl67 width=177 style='border-bottom:1.0pt; height:244.0pt;border-top:none;width:133pt'><span style='mso-spacerun:yes'> </span>clusterList</td> <td rowspan=4 class=xl70 width=175 style='border-bottom:1.0pt; border-top:none;width:131pt'>View cluster information, cluster, brokerName, brokerId, TPS, and so on</td> <td class=xl65 width=177 style='width:133pt'>-m</td> <td class=xl66 width=185 style='width:139pt'>Print more information (add print to # InTotalYest, </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=177 style='height:17.0pt;width:133pt'>-h</td> <td class=xl66 width=185 style='width:139pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=177 style='height:43.0pt;width:133pt'>-n</td> <td class=xl66 width=185 style='width:139pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=177 style='height:29.0pt;width:133pt'>-i</td> <td class=xl66 width=185 style='width:139pt'>Print interval, unit basis is seconds</td> </tr> <tr height=95 style='height:71.0pt'> <td rowspan=8 height=391 class=xl67 width=177 style='border-bottom:1.0pt; height:292.0pt;border-top:none;width:133pt'>clusterRT</td> <td rowspan=8 class=xl70 width=175 style='border-bottom:1.0pt; border-top:none;width:131pt'>Send message to detect each broker RT of the cluster.the message send to ${BrokerName} Topic</td> <td class=xl65 width=177 style='width:133pt'>-a</td> <td class=xl66 width=185 style='width:139pt'>amount, total number per probe, RT = Total time/amount</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=177 style='height:29.0pt;width:133pt'>-s</td> <td class=xl66 width=185 style='width:139pt'>Message size, unit basis is B</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=177 style='height:17.0pt;width:133pt'>-c</td> <td class=xl66 width=185 style='width:139pt'>Which cluster to detect.</td> </tr> <tr height=76 style='height:57.0pt'> <td height=76 class=xl65 width=177 style='height:57.0pt;width:133pt'>-p</td> <td class=xl66 width=185 style='width:139pt'>Whether to print the formatted log,split with "|", not printed by default</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl65 width=177 style='height:17.0pt;width:133pt'>-h</td> <td class=xl66 width=185 style='width:139pt'>Print help information</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=177

<td class=xl66 width=185 style='width:139pt'>Owned computer room for printing</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl65 width=177 style='height:29.0pt;width:133pt'>-i</td> <td class=xl66 width=185 style='width:139pt'>The interval, in seconds, at which a message is sent.</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl65 width=177 style='height:43.0pt;width:133pt'>-n</td> <td class=xl66 width=185 style='width:139pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=6 height=206 class=xl69 width=191 style='border-bottom:1.0pt; height:154.0pt;border-top:none;width:143pt'>updateBrokerConfig</td> <td rowspan=6 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>The configuration information used to update the broker and the contents of the Broker.conf file are modified</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Specify the name of the cluster</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-k</td> <td class=xl68 width=87 style='width:65pt'>the value of k</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-v</td> <td class=xl68 width=87 style='width:65pt'>the value of value</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=3 height=137 class=xl69 width=191 style='border-bottom:1.0pt; height:103.0pt;border-top:none;width:143pt'>brokerStatus</td> <td rowspan=3 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>For viewing broker related statistics and running status (almost all the information you want is inside)</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=6 height=256 class=xl69 width=191 style='border-bottom:1.0pt; height:192.0pt;border-top:none;width:143pt'>brokerConsumeStats</td> <td rowspan=6 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Get the consumption of each consumer in broker and return information such as consume Offset,broker Offset,diff,timestamp by message queue dimension</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>Configure the timeout of the request</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-l</td> <td class=xl68 width=87 style='width:65pt'>Configure the diff threshold beyond which to print</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-o</td> <td class=xl68 width=87 style='width:65pt'>Specifies whether the order topic, is typically false</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=2 height=114 class=xl69 width=191 style='border-bottom:1.0pt; height:86.0pt;border-top:none;width:143pt'>getBrokerConfig</td> <td rowspan=2 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Get configuration information for the broker</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=1 height=137 class=xl69 width=191 style='border-bottom:1.0pt; height:103.0pt;border-top:none;width:143pt'>wipeWritePerm</td> <td rowspan=1 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Clear write permissions for broker from nameServer</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the BrokerName</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=3 height=137 class=xl69 width=191 style='border-bottom:1.0pt; height:103.0pt;border-top:none;width:143pt'>addWritePerm</td> <td rowspan=3 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Add write permissions for broker from nameServer</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the BrokerName</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87

<td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=4 height=160 class=xl69 width=191 style='border-bottom:1.0pt; height:120.0pt;border-top:none;width:143pt'>cleanExpiredCQ</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Clean up expired consume Queue on broker, An expired queue may be generated if the number of columns is reduced manually</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Used to specify the name of the cluster</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=4 height=160 class=xl69 width=191 style='border-bottom:1.0pt; height:120.0pt;border-top:none;width:143pt'>deleteExpiredCommitLog</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Clean up expired CommitLog files on broker. A maximum of 20 deletion operations can be performed, and a maximum of 10 files can be deleted each time.</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Used to specify the name of the cluster</td> </tr> <tr height=88 style='mso-height-source:userset;height:66.0pt'> <td rowspan=4 height=191 class=xl69 width=191 style='border-bottom:1.0pt; height:143.0pt;border-top:none;width:143pt'>cleanUnusedTopic</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Clean up unused topic on broker and release topic's consume Queue from memory, If the topic is removed manually, an unused topic will be generated</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Declare the address of the broker and format as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Used to specify the name of the cluster</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=5 height=199 class=xl69 width=191 style='border-bottom:1.0pt; height:149.0pt;border-top:none;width:143pt'>sendMsgStatus</td> <td rowspan=5 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Send a message to the broker and then return the send status and RT</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>brokerName, note that this is not broker's address</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Message size, the unit of account is B</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Number of messages sent</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=128 style='height:96.0pt'> <td rowspan=3 height=208 class=xl69 width=87 style='border-bottom:1.0pt; height:156.0pt;border-top:none;width:65pt'>queryMsgById</td> <td rowspan=3 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Query msg according to offsetMsgId. If you use open source console, you should use offsetMsgId. There are other parameters for this command. For details, please read QueryMsgByIdSubCommand. </td> <td class=xl67 width=87 style='width:65pt'>-i</td> <td class=xl67 width=87 style='width:65pt'>msgId</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57

<td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=4 height=126 class=xl69 width=87 style='border-bottom:1.0pt; height:94.0pt;border-top:none;width:65pt'>queryMsgByKey</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Query messages based on message Key</td> <td class=xl67 width=87 style='width:65pt'>-k</td> <td class=xl67 width=87 style='width:65pt'>msgKey</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=225 style='height:169.0pt'> <td rowspan=6 height=390 class=xl69 width=87 style='border-bottom:1.0pt; height:292.0pt;border-top:none;width:65pt'>queryMsgByOffset</td> <td rowspan=6 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Query messages based on Offset</td> <td class=xl67 width=87 style='width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>The name of broker,(Note here: the name of broker is filled in, not the address of broker, and the broker name can be found in clusterList)</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-i</td> <td class=xl68 width=87 style='width:65pt'>Queue id of the query</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-o</td> <td class=xl68 width=87 style='width:65pt'>The value of offset</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=47> <td rowspan=6 height=209 class=xl69 width=87 style='border-bottom:1.0pt; height:156.0pt;border-top:none;width:65pt'>queryMsgByUniqueKey</td> <td rowspan=6 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>According to the msgId query, msgId is different from offsetMsgId. The specific differences can be found in common operational and maintenance problems. "-g" option and "-d" option are to be used together, and when you find the message, try to get a particular consumer to consume the message and return the result of the consumption.</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-i</td> <td class=xl67 width=87 style='width:65pt'>unique msg id</td> </tr> <tr height=36 style='height:27.0pt'> <td height=36 class=xl67 width=87 style='height:27.0pt;width:65pt'>-g</td> <td class=xl67 width=87 style='width:65pt'>consumerGroup</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-d</td> <td class=xl67 width=87 style='width:65pt'>clientId</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=5 height=149 class=xl69 width=87 style='border-bottom:1.0pt height:111.0pt;border-top:none;width:65pt'>checkMsgSendRT</td> <td rowspan=5 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Detect RT to send a message to topic, function similar to clusterRT</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-a</td> <td class=xl68 width=87 style='width:65pt'>the number of probes</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>The size of message</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=8 height=218 class=xl69 width=87 style='border-bottom:1.0pt; height:162.0pt;border-top:none;width:65pt'>sendMessage</td> <td rowspan=8 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Send a message that can be sent, as configured, to a particular message Queue, or to a normal send.</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87

<td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-p</td> <td class=xl68 width=87 style='width:65pt'>body, message body</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-k</td> <td class=xl67 width=87 style='width:65pt'>keys</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl67 width=87 style='width:65pt'>tags</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-b</td> <td class=xl67 width=87 style='width:65pt'>brokerName</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-i</td> <td class=xl67 width=87 style='width:65pt'>queueId</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=10 height=312 class=xl69 width=87 style='border-bottom:1.0pt; height:232.0pt;border-top:none;width:65pt'>consumeMessage</td> <td rowspan=10 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Consumer messages. You can consume messages based on offset, start timestamps, end timestamps, message queues, and configure different consumption logic for different execution, as detailed in ConsumeMessageCommand.</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-b</td> <td class=xl67 width=87 style='width:65pt'>brokerName</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-o</td> <td class=xl68 width=87 style='width:65pt'>Start consumption from offset</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-i</td> <td class=xl67 width=87 style='width:65pt'>queueId</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>Group of consumers</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Specify a start timestamp in a format see -h</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-d</td> <td class=xl68 width=87 style='width:65pt'>Specify a end timestamp</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Specify how many messages to consume</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=8 height=282 class=xl69 width=87 style='border-bottom:1.0pt; height:210.0pt;border-top:none;width:65pt'>printMsg</td> <td rowspan=8 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Consume messages from broker and print them, optional time periods</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Character set, for example UTF-8</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>subExpress, filter expression</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Specify a start timestamp in a format see -h</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-e</td> <td class=xl68 width=87 style='width:65pt'>Specify the end timestamp</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-d</td> <td class=xl68 width=87 style='width:65pt'>Whether to print the message body</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=12 height=390 class=xl69 width=87 style='border-bottom:1.0pt; height:290.0pt;border-top:none;width:65pt'>printMsgByQueue</td> <td rowspan=12 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Similar to printMsg, but specifying message queue</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-i</td> <td class=xl67 width=87 style='width:65pt'>queueId</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-a</td> <td class=xl67 width=87 style='width:65pt'>brokerName</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Character set, for example UTF-8</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>subExpress, filter expression</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>Specify a start timestamp in a format see -h</td> </tr> <tr height=23

<td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-e</td> <td class=xl68 width=87 style='width:65pt'>Specify the end timestamp</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-p</td> <td class=xl68 width=87 style='width:65pt'>Whether to print a message</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-d</td> <td class=xl68 width=87 style='width:65pt'>Whether to print the message body</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-f</td> <td class=xl68 width=87 style='width:65pt'>Whether to count the number of tags and print </td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=7 height=410 class=xl69 width=87 style='border-bottom:1.0pt; height:307.0pt;border-top:none;width:65pt'>resetOffsetByTime</td> <td rowspan=7 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>Reset consumer offset by timestamp(without client restart).</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>Group of consumers</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of the topic</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Resets the offset corresponding to this timestamp in a format see -h, if you want to reset to maxOffset, the value is 'now'.</td> </tr> <tr height=188 style='height:141.0pt'> <td height=188 class=xl67 width=87 style='height:141.0pt;width:65pt'>-f</td> <td class=xl68 width=87 style='width:65pt'>Whether to force a reset, if set to false, only supports backtracking offset, if it is true, regardless of the relationship between offset and consume Offset with the timestamp</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>Whether to reset the C++ client offset</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=39 style='height:29.0pt'> <td rowspan=4 height=158 class=xl69 width=87 style='border-bottom:1.0pt; height:110pt;border-top:none;width:65pt'>consumerProgress</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt; border-top:none;width:65pt'>To view the subscriber consumption status, you can see the amount of message accumulation for a specific client IP</td> <td class=xl67 width=87 style='width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>The group name of consumer</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Whether to print client IP</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=105 style='mso-height-source:userset;height:79.0pt'> <td rowspan=5 height=260 class=xl69 width=87 style='border-bottom:1.0pt; height:195.0pt;border-top:none;width:65pt'>consumerStatus</td> <td rowspan=5 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>See the consumer status, including whether the same subscription is in the same group, analyze whether the process queue is stacked, return the consumer jstack results, more content, and see ConsumerStatusSubCommand for the user</td> <td class=xl67 width=87 style='width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=36 style='height:27.0pt'> <td height=36 class=xl67 width=87 style='height:27.0pt;width:65pt'>-g</td> <td class=xl67 width=87 style='width:65pt'>consumer group</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-i</td> <td class=xl67 width=87 style='width:65pt'>clientId</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Whether to execute jstack</td> </tr> <tr height=39 style='height:29.0pt'> <td rowspan=5 height=181 class=xl69 width=87 style='border-bottom:1.0pt height:135.0pt;border-top:none;width:65pt'>getConsumerStatus</td> <td rowspan=5 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Get Consumer consumption progress</td> <td class=xl67 width=87 style='width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>the group name of consumer</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>Query topic</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-i</td> <td class=xl68 width=87 style='width:65pt'>Ip address of consumer client</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87

<td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=13 height=761 class=xl69 width=87 style='border-bottom:1.0pt height:569.0pt;border-top:none;width:65pt'>updateSubGroup</td> <td rowspan=13 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Update or create a subscription</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>the address of broker</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>The name of cluster</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>The group name of consumer</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Whether the group is allowed to consume</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-m</td> <td class=xl68 width=87 style='width:65pt'>Whether to start consumption from the minimum offset</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-d</td> <td class=xl68 width=87 style='width:65pt'>Is it a broadcast mode</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-q</td> <td class=xl68 width=87 style='width:65pt'>The Number of retry queues</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-r</td> <td class=xl68 width=87 style='width:65pt'>Maximum number of retries</td> </tr> <tr height=207 style='height:155.0pt'> <td height=207 class=xl67 width=87 style='height:155.0pt;width:65pt'>-i</td> <td class=xl68 width=87 style='width:65pt'>When the slaveReadEnable is on and which brokerId consumption is recommended for consumption from slave, the brokerid of slave, can be configured to consume from the slave actively</td> </tr> <tr height=132 style='height:99.0pt'> <td height=132 class=xl67 width=87 style='height:99.0pt;width:65pt'>-w</td> <td class=xl68 width=87 style='width:65pt'>If broker recommends consumption from slave, configuration determines which slave consumption to consume from, and configure a specific brokerId, such as 1</td> </tr> <tr height=76 style='height:57.0pt'> <td height=76 class=xl67 width=87 style='height:57.0pt;width:65pt'>-a</td> <td class=xl68 width=87 style='width:65pt'>Whether to notify other consumers of load balancing when the number of consumers changes</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=5 height=165 class=xl69 width=87 style='border-bottom:1.0pt height:123.0pt;border-top:none;width:65pt'>deleteSubGroup</td> <td rowspan=5 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Remove subscriptions from broker</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-b</td> <td class=xl68 width=87 style='width:65pt'>the address of broker</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-c</td> <td class=xl68 width=87 style='width:65pt'>The name of cluster</td> </tr> <tr height=39 style='height:29.0pt'> <td height=39 class=xl67 width=87 style='height:29.0pt;width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>The group name of consumer</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=6 height=172 class=xl69 width=87 style='border-bottom:1.0pt height:120pt;border-top:none;width:65pt'>cloneGroupOffset</td> <td rowspan=6 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Use the offset of the source group in the target group </td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Source consumer group</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-d</td> <td class=xl68 width=87 style='width:65pt'>Target consumer group</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of topic</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-o</td> <td class=xl68 width=87 style='width:65pt'>Not used yet</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=39 style='height:29.0pt'> <td rowspan=3 height=119 class=xl69 width=87 style='border-bottom:1.0pt height:89.0pt;border-top:none;width:65pt'>consumerConnection</td> <td rowspan=3 class=xl72 width=87

border-top:none;width:65pt'>Query the network connection of consumer</td> <td class=xl67 width=87 style='width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>The group name of consumer</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=39 style='height:29.0pt'> <td rowspan=4 height=142 class=xl69 width=87 style='border-bottom:1.0pt height:106.0pt;border-top:none;width:65pt'>producerConnection</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Query the network connection of producer</td> <td class=xl67 width=87 style='width:65pt'>-g</td> <td class=xl68 width=87 style='width:65pt'>the group name of producer</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-t</td> <td class=xl68 width=87 style='width:65pt'>The name of topic</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=21 style='height:16.0pt'> <td rowspan=5 height=143 class=xl69 width=87 style='border-bottom:1.0pt height:100pt;border-top:none;width:65pt'>updateKvConfig</td> <td rowspan=5 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Update the kv configuration of nameServer, which is not currently used</td> <td class=xl75 width=87 style='width:65pt'>-s</td> <td class=xl76 width=87 style='width:65pt'>Specify a specific namespace</td> </tr> <tr height=21 style='height:16.0pt'> <td height=21 class=xl75 width=87 style='height:16.0pt;width:65pt'>-k</td> <td class=xl75 width=87 style='width:65pt'>key</td> </tr> <tr height=21 style='height:16.0pt'> <td height=21 class=xl75 width=87 style='height:16.0pt;width:65pt'>-v</td> <td class=xl75 width=87 style='width:65pt'>value</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=23 style='height:17.0pt'> <td rowspan=4 height=126 class=xl69 width=87 style='border-bottom:1.0pt height:94.0pt;border-top:none;width:65pt'>deleteKvConfig</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'> Delete the kv configuration of nameServer</td> <td class=xl67 width=87 style='width:65pt'>-s</td> <td class=xl68 width=87 style='width:65pt'>Specify a specific namespace</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-k</td> <td class=xl67 width=87 style='width:65pt'>key</td> </tr> <tr height=57 style='height:43.0pt'> <td height=57 class=xl67 width=87 style='height:43.0pt;width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=2 height=80 class=xl69 width=87 style='border-bottom:1.0pt height:60.0pt;border-top:none;width:65pt'>getNamesrvConfig</td> <td rowspan=2 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Get the configuration of the nameServer</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=4 height=126 class=xl69 width=87 style='border-bottom:1.0pt height:94.0pt;border-top:none;width:65pt'>updateNamesrvConfig</td> <td rowspan=4 class=xl72 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Modifying the configuration of nameServer</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-k</td> <td class=xl67 width=87 style='width:65pt'>The value of key</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-v</td> <td class=xl67 width=87 style='width:65pt'>The value of value</td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=714> <col width=177> <col width=175> <col width=177> <col width=185> <tr height=23 style='height:17.0pt'> <td height=23 class=xl63 width=177 style='height:17.0pt;width:133pt'>Name</td> <td class=xl64 width=175 style='width:131pt'>Meaning</td> <td class=xl64 width=177 style='width:133pt'>Command option</td> <td class=xl64 width=185 style='width:139pt'>Explain</td> </tr> <tr height=57 style='height:43.0pt'> <td rowspan=2 height=80 class=xl69 width=87 style='border-bottom:1.0pt height:60.0pt;border-top:none;width:65pt'>startMonitoring</td> <td rowspan=2 class=xl71 width=87 style='border-bottom:1.0pt border-top:none;width:65pt'>Used to start the monitoring process, monitor message deletion, retry queue messages, etc.</td> <td class=xl67 width=87 style='width:65pt'>-n</td> <td class=xl68 width=87 style='width:65pt'>Service address used to specify nameServer and formatted as ip:port</td> </tr> <tr height=23 style='height:17.0pt'> <td height=23 class=xl67 width=87 style='height:17.0pt;width:65pt'>-h</td> <td class=xl68 width=87 style='width:65pt'>Print help information</td> </tr>