{"id":1485,"date":"2023-03-24T22:44:04","date_gmt":"2023-03-24T14:44:04","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1485"},"modified":"2023-04-28T20:30:54","modified_gmt":"2023-04-28T12:30:54","slug":"rocketmq-cluster-debugging","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/24\/rocketmq-cluster-debugging\/","title":{"rendered":"RocketMQ\u96c6\u7fa4\u8c03\u8bd5"},"content":{"rendered":"<h2>\u5f00\u653e\u7aef\u53e3<\/h2>\n<p><code>9876<\/code>\uff1aNameServer\u7aef\u53e3<br \/>\n<code>10909<\/code>\uff1aVIP\u901a\u9053\u7aef\u53e3<br \/>\n<code>10911<\/code>\uff1a\u4e3bBroker\u7aef\u53e3<br \/>\n<code>10912<\/code>\uff1a\u4eceBroker\u7aef\u53e3<\/p>\n<p><!-- more --><\/p>\n<p>10909\u662fVIP\u901a\u9053\u5bf9\u5e94\u7684\u7aef\u53e3\uff0c\u5728JAVA\u4e2d\u7684\u6d88\u8d39\u8005\u5bf9\u8c61\u6216\u8005\u662f\u751f\u4ea7\u8005\u5bf9\u8c61\u4e2d\u5173\u95edVIP\u901a\u9053\u5373\u53ef\u65e0\u9700\u5f00\u653e10909\u7aef\u53e3<\/p>\n<p>\u4f7f\u7528\u5982\u4e0b\u65b9\u6cd5<\/p>\n<pre><code class=\"language-java\">setVipChannelEnabled(false);<\/code><\/pre>\n<p>\u5982\u679c\u6ca1\u6709\u5f00\u653e10909\u53ca10911\u7aef\u53e3\uff0c\u53ef\u80fd\u4f1a\u62a5\u5982\u4e0b\u9519\u8bef\uff1a<\/p>\n<p>\u751f\u4ea7\u8005\u53d1\u9001\u6d88\u606f<\/p>\n<pre><code>sendDefaultImpl call timeout<\/code><\/pre>\n<p>\u6d88\u8d39\u8005\u672a\u5728\u7ebf<\/p>\n<pre><code>MessageTrack [consumerGroup=xxxxxx, trackType=NOT_ONLINE, exceptionDesc=CODE:206 DESC:Not found the consumer group consume stats, because return offset table is empty, maybe the consumer not consume any message]<\/code><\/pre>\n<h2>\u53ccmaster\u53ccslave<\/h2>\n<p>\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u4e09\u4e2a\u53c2\u6570<\/p>\n<ul>\n<li>slave\u7684brokerName\u548c\u4e3b\u7684\u4e00\u6837<\/li>\n<li>brokerId\u8981\u5927\u4e8e0<\/li>\n<li>brokerRole\u8fd9\u4e2a\u503c\u8981\u53d8\u6210SLAVE<\/li>\n<\/ul>\n<h2>\u67e5\u770b\u8fdb\u7a0b<\/h2>\n<pre><code># ps -ef | grep namesrv\n# ps -ef | grep broker<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5f00\u653e\u7aef\u53e3 9876\uff1aNameServer\u7aef\u53e3 10909\uff1aVIP\u901a\u9053\u7aef\u53e3 10911\uff1a\u4e3bBroker\u7aef\u53e3 10 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[],"class_list":["post-1485","post","type-post","status-publish","format-standard","hentry","category-rocketmq"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1485"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1485\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}