{"id":79804,"date":"2026-03-03T08:10:04","date_gmt":"2026-03-03T00:10:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/79804.html"},"modified":"2026-03-03T08:10:04","modified_gmt":"2026-03-03T00:10:04","slug":"rocketmq-%e9%9b%86%e7%be%a4%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/79804.html","title":{"rendered":"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd"},"content":{"rendered":"<h2>RocketMQ \u96c6\u7fa4\u4ecb\u7ecd<\/h2>\n<h3>\u4e5d\u3001RocketMQ \u96c6\u7fa4\u90e8\u7f72\u4e0e\u9ad8\u53ef\u7528\u673a\u5236<\/h3>\n<p>RocketMQ \u96c6\u7fa4\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u901a\u8fc7\u591a\u8282\u70b9\u90e8\u7f72\u5b9e\u73b0\u9ad8\u53ef\u7528\u3001\u9ad8\u541e\u5410\u548c\u6570\u636e\u4e00\u81f4\u6027&#xff0c;\u5176\u96c6\u7fa4\u8bbe\u8ba1\u56f4\u7ed5\u300cBroker \u4e3b\u4ece\u300d\u548c\u300cNameServer \u65e0\u72b6\u6001\u96c6\u7fa4\u300d\u5c55\u5f00&#xff0c;\u6838\u5fc3\u5206\u4e3a\u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f\u548c\u57fa\u4e8e Raft \u534f\u8bae\u7684 Dledger \u81ea\u52a8\u5bb9\u707e\u6a21\u5f0f\u3002\u672c\u6587\u8be6\u7ec6\u8bb2\u89e3\u96c6\u7fa4\u90e8\u7f72\u65b9\u5f0f\u3001\u9009\u4e3b\u673a\u5236\u3001\u6838\u5fc3\u914d\u7f6e\u3001\u4f18\u7f3a\u70b9\u53ca\u8111\u88c2\u9632\u62a4\u65b9\u6848\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u96c6\u7fa4\u90e8\u7f72\u6a21\u5f0f&#xff08;\u589e\u5f3a\u7248&#xff09;<\/h3>\n<h4>1. \u57fa\u7840\u90e8\u7f72\u6a21\u5f0f\u5bf9\u6bd4<\/h4>\n<table>\n<tr>\u90e8\u7f72\u6a21\u5f0f\u67b6\u6784\u7ec4\u6210\u6838\u5fc3\u7279\u70b9\u53ef\u7528\u6027\u6570\u636e\u4e00\u81f4\u6027\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u5355 Master<\/td>\n<td>1 \u4e2a Broker&#xff08;Master&#xff09;&#043; 1&#043; NameServer<\/td>\n<td>\u90e8\u7f72\u6700\u7b80&#xff0c;\u65e0\u5197\u4f59<\/td>\n<td>0&#xff08;\u5b95\u673a\u5373\u4e0d\u53ef\u7528&#xff09;<\/td>\n<td>&#8211;<\/td>\n<td>\u672c\u5730\u6d4b\u8bd5\u3001\u529f\u80fd\u9a8c\u8bc1<\/td>\n<\/tr>\n<tr>\n<td>\u591a Master<\/td>\n<td>N \u4e2a Broker&#xff08;\u5747\u4e3a Master&#xff09;&#043; 1&#043; NameServer<\/td>\n<td>\u5199\u6027\u80fd\u6700\u9ad8&#xff0c;\u65e0\u540c\u6b65\u5f00\u9500<\/td>\n<td>\u90e8\u5206\u53ef\u7528&#xff08;\u5355\u8282\u70b9\u5b95\u673a\u5219\u5bf9\u5e94\u961f\u5217\u4e0d\u53ef\u7528&#xff09;<\/td>\n<td>\u5f31&#xff08;\u8282\u70b9\u5b95\u673a\u4e22\u5931\u672a\u6301\u4e45\u5316\u6570\u636e&#xff09;<\/td>\n<td>\u975e\u6838\u5fc3\u4e1a\u52a1\u3001\u4e34\u65f6\u6d4b\u8bd5<\/td>\n<\/tr>\n<tr>\n<td>\u591a Master &#043; \u591a Slave&#xff08;\u4f20\u7edf\u4e3b\u4ece&#xff09;<\/td>\n<td>\u6bcf\u4e2a Master \u5bf9\u5e94 1&#043; Slave &#043; 1&#043; NameServer<\/td>\n<td>\u4e3b\u5199\u4ece\u8bfb&#xff0c;\u9700\u624b\u52a8\u5207\u6362<\/td>\n<td>\u9ad8&#xff08;\u9700\u4eba\u5de5\u4ecb\u5165\u6062\u590d&#xff09;<\/td>\n<td>\u5f02\u6b65\u590d\u5236&#xff1a;\u5f31\u540c\u6b65\u53cc\u5199&#xff1a;\u5f3a<\/td>\n<td>\u4e2d\u5c0f\u751f\u4ea7\u73af\u5883\u3001\u53ef\u63a5\u53d7\u624b\u52a8\u8fd0\u7ef4<\/td>\n<\/tr>\n<tr>\n<td>Dledger \u96c6\u7fa4&#xff08;Raft \u6a21\u5f0f&#xff09;<\/td>\n<td>3\/5 \u4e2a Broker \u7ec4\u6210 Raft Group &#043; 1&#043; NameServer<\/td>\n<td>\u81ea\u52a8\u9009\u4e3b\u3001\u81ea\u52a8\u6545\u969c\u8f6c\u79fb<\/td>\n<td>\u6781\u9ad8&#xff08;\u79d2\u7ea7\u81ea\u52a8\u6062\u590d&#xff09;<\/td>\n<td>\u5f3a&#xff08;Quorum \u5199\u5165\u786e\u8ba4&#xff09;<\/td>\n<td>\u6838\u5fc3\u751f\u4ea7\u73af\u5883\u3001\u91d1\u878d\u7ea7\u573a\u666f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f&#xff08;Master-Slave&#xff09;\u8be6\u7ec6\u914d\u7f6e<\/h4>\n<h5>2.1 \u6838\u5fc3\u914d\u7f6e\u8bf4\u660e&#xff08;broker.conf&#xff09;<\/h5>\n<p>\u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f\u9700\u4e3a\u6bcf\u4e2a Master\/Slave \u914d\u7f6e\u72ec\u7acb\u6587\u4ef6&#xff0c;\u6838\u5fc3\u914d\u7f6e\u9879\u5982\u4e0b&#xff1a;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u516c\u5171\u914d\u7f6e&#xff08;\u6240\u6709\u8282\u70b9&#xff09;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nbrokerClusterName&#061;MyRocketMQCluster  # \u96c6\u7fa4\u540d\u79f0&#xff08;\u6240\u6709\u8282\u70b9\u5fc5\u987b\u4e00\u81f4&#xff09;<br \/>\nbrokerId&#061;0                           # Master \u4e3a 0&#xff0c;Slave \u4e3a 1\/2\/3&#8230;&#xff08;\u6570\u5b57\u8d8a\u5927\u4f18\u5148\u7ea7\u8d8a\u4f4e&#xff09;<br \/>\nlistenPort&#061;10911                     # Broker \u670d\u52a1\u7aef\u53e3&#xff08;Slave \u53ef\u4e0e Master \u4e0d\u540c&#xff09;<br \/>\nnamesrvAddr&#061;192.168.1.10:9876;192.168.1.11:9876  # NameServer \u96c6\u7fa4\u5730\u5740<br \/>\nstorePathRootDir&#061;\/data\/rocketmq\/store  # \u6d88\u606f\u5b58\u50a8\u6839\u76ee\u5f55<br \/>\nstorePathCommitLog&#061;\/data\/rocketmq\/store\/commitlog  # \u63d0\u4ea4\u65e5\u5fd7\u5b58\u50a8\u8def\u5f84<br \/>\nautoCreateTopicEnable&#061;true           # \u81ea\u52a8\u521b\u5efa Topic&#xff08;\u751f\u4ea7\u5efa\u8bae\u5173\u95ed&#xff09;<br \/>\ndeleteWhen&#061;04                        # \u51cc\u6668 4 \u70b9\u6e05\u7406\u8fc7\u671f\u6d88\u606f<br \/>\nfileReservedTime&#061;72                  # \u6d88\u606f\u4fdd\u7559\u65f6\u957f&#xff08;\u5c0f\u65f6&#xff09;<br \/>\nmapedFileSizeCommitLog&#061;1073741824    # CommitLog \u6587\u4ef6\u5927\u5c0f&#xff08;\u9ed8\u8ba4 1GB&#xff09;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; Master \u8282\u70b9\u4e13\u5c5e\u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nbrokerName&#061;broker-a                  # \u4e3b\u4ece\u8282\u70b9\u9700\u540c\u540d&#xff08;\u6807\u8bc6\u540c\u4e00\u7ec4&#xff09;<br \/>\nbrokerRole&#061;SYNC_MASTER               # \u4e3b\u8282\u70b9\u89d2\u8272&#xff1a;SYNC_MASTER&#xff08;\u540c\u6b65\u53cc\u5199&#xff09;\/ASYNC_MASTER&#xff08;\u5f02\u6b65\u590d\u5236&#xff09;<br \/>\nflushDiskType&#061;SYNC_FLUSH             # \u5237\u76d8\u7b56\u7565&#xff1a;SYNC_FLUSH&#xff08;\u540c\u6b65\u5237\u76d8&#xff09;\/ASYNC_FLUSH&#xff08;\u5f02\u6b65\u5237\u76d8&#xff09;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; Slave \u8282\u70b9\u4e13\u5c5e\u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nbrokerName&#061;broker-a                  # \u5fc5\u987b\u4e0e\u5bf9\u5e94 Master \u4e00\u81f4<br \/>\nbrokerId&#061;1                           # Slave \u6807\u8bc6&#xff08;\u975e 0 \u5373\u53ef&#xff09;<br \/>\nbrokerRole&#061;SLAVE                     # \u4ece\u8282\u70b9\u89d2\u8272<br \/>\nflushDiskType&#061;ASYNC_FLUSH            # Slave \u5efa\u8bae\u5f02\u6b65\u5237\u76d8<br \/>\npullMessageThreadPoolNums&#061;32         # \u4ece\u8282\u70b9\u62c9\u53d6\u7ebf\u7a0b\u6570&#xff08;\u4f18\u5316\u8bfb\u6027\u80fd&#xff09;<\/p>\n<h5>2.2 \u4f20\u7edf\u4e3b\u4ece\u90e8\u7f72\u6b65\u9aa4&#xff08;\u4ee5 1 Master &#043; 1 Slave \u4e3a\u4f8b&#xff09;<\/h5>\n<li>\n<p>\u73af\u5883\u51c6\u5907<\/p>\n<ul>\n<li>\u4e24\u53f0\u670d\u52a1\u5668&#xff08;\u5982 192.168.1.10\u3001192.168.1.11&#xff09;&#xff0c;\u5747\u5b89\u88c5 RocketMQ<\/li>\n<li>\u914d\u7f6e JAVA_HOME&#xff0c;\u5173\u95ed\u9632\u706b\u5899\/SELINUX<\/li>\n<li>\u63d0\u524d\u542f\u52a8 NameServer \u96c6\u7fa4&#xff08;\u81f3\u5c11 2 \u8282\u70b9&#xff09;&#xff1a;<span class=\"token comment\"># \u542f\u52a8 NameServer&#xff08;\u6240\u6709\u8282\u70b9\u6267\u884c&#xff09;<\/span><br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqnamesrv <span class=\"token operator\">&amp;<\/span><br \/>\n<span class=\"token comment\"># \u9a8c\u8bc1 NameServer \u542f\u52a8<\/span><br \/>\njps <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> NamesrvStartup<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Master \u8282\u70b9\u914d\u7f6e\u4e0e\u542f\u52a8<\/p>\n<p><span class=\"token comment\"># 1. \u7f16\u8f91 Master \u914d\u7f6e\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">vi<\/span> conf\/broker-a-master.conf  <span class=\"token comment\"># \u5185\u5bb9\u5982\u4e0a Master \u914d\u7f6e<\/span><\/p>\n<p><span class=\"token comment\"># 2. \u542f\u52a8 Master<\/span><br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqbroker <span class=\"token parameter variable\">-c<\/span> conf\/broker-a-master.conf <span class=\"token operator\">&amp;<\/span><\/p>\n<p><span class=\"token comment\"># 3. \u9a8c\u8bc1 Master \u6ce8\u518c&#xff08;NameServer \u8282\u70b9\u6267\u884c&#xff09;<\/span><br \/>\n<span class=\"token function\">sh<\/span> bin\/mqadmin clusterList <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">192.168<\/span>.1.10:9876<\/p>\n<\/li>\n<li>\n<p>Slave \u8282\u70b9\u914d\u7f6e\u4e0e\u542f\u52a8<\/p>\n<p><span class=\"token comment\"># 1. \u7f16\u8f91 Slave \u914d\u7f6e\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">vi<\/span> conf\/broker-a-slave.conf  <span class=\"token comment\"># \u5185\u5bb9\u5982\u4e0a Slave \u914d\u7f6e<\/span><\/p>\n<p><span class=\"token comment\"># 2. \u542f\u52a8 Slave<\/span><br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqbroker <span class=\"token parameter variable\">-c<\/span> conf\/broker-a-slave.conf <span class=\"token operator\">&amp;<\/span><\/p>\n<p><span class=\"token comment\"># 3. \u9a8c\u8bc1\u4e3b\u4ece\u5173\u7cfb<\/span><br \/>\n<span class=\"token function\">sh<\/span> bin\/mqadmin clusterList <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">192.168<\/span>.1.10:9876  <span class=\"token comment\"># \u53ef\u770b\u5230 broker-a \u5305\u542b Master\/Slave<\/span><\/p>\n<\/li>\n<h5>2.3 \u4f20\u7edf\u4e3b\u4ece\u6545\u969c\u6062\u590d&#xff08;\u624b\u52a8\u5207\u6362&#xff09;<\/h5>\n<p>\u5f53 Master \u5b95\u673a\u65f6&#xff0c;\u9700\u624b\u52a8\u5c06 Slave \u63d0\u5347\u4e3a Master&#xff1a;<\/p>\n<p><span class=\"token comment\"># 1. \u505c\u6b62\u6545\u969c Master \u8282\u70b9&#xff08;\u82e5\u672a\u5b95\u673a&#xff09;<\/span><br \/>\n<span class=\"token function\">sh<\/span> bin\/mqshutdown broker<\/p>\n<p><span class=\"token comment\"># 2. \u4fee\u6539 Slave \u914d\u7f6e\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">vi<\/span> conf\/broker-a-slave.conf<br \/>\n<span class=\"token assign-left variable\">brokerId<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">0<\/span>          <span class=\"token comment\"># \u6539\u4e3a 0&#xff08;Master \u6807\u8bc6&#xff09;<\/span><br \/>\n<span class=\"token assign-left variable\">brokerRole<\/span><span class=\"token operator\">&#061;<\/span>SYNC_MASTER  <span class=\"token comment\"># \u6539\u4e3a\u4e3b\u8282\u70b9\u89d2\u8272<\/span><\/p>\n<p><span class=\"token comment\"># 3. \u91cd\u542f Slave \u8282\u70b9<\/span><br \/>\n<span class=\"token function\">sh<\/span> bin\/mqshutdown broker<br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqbroker <span class=\"token parameter variable\">-c<\/span> conf\/broker-a-slave.conf <span class=\"token operator\">&amp;<\/span><\/p>\n<p><span class=\"token comment\"># 4. \u901a\u77e5\u5ba2\u6237\u7aef\u66f4\u65b0\u8def\u7531&#xff08;\u53ef\u9009&#xff0c;\u5ba2\u6237\u7aef\u4f1a\u81ea\u52a8\u4ece NameServer \u62c9\u53d6\u65b0\u8def\u7531&#xff09;<\/span><\/p>\n<h4>3. Dledger \u96c6\u7fa4\u6a21\u5f0f&#xff08;\u63a8\u8350\u751f\u4ea7&#xff09;<\/h4>\n<h5>3.1 Dledger \u6838\u5fc3\u539f\u7406<\/h5>\n<p>Dledger \u662f RocketMQ \u57fa\u4e8e Raft \u534f\u8bae\u5b9e\u73b0\u7684\u5206\u5e03\u5f0f\u65e5\u5fd7\u590d\u5236\u6846\u67b6&#xff0c;\u6838\u5fc3\u89e3\u51b3\u4f20\u7edf\u4e3b\u4ece\u300c\u624b\u52a8\u5207\u6362\u300d\u548c\u300c\u6570\u636e\u4e0d\u4e00\u81f4\u300d\u95ee\u9898&#xff0c;\u5176\u6838\u5fc3\u7279\u6027&#xff1a;<\/p>\n<ul>\n<li>\u8282\u70b9\u89d2\u8272&#xff1a;Leader&#xff08;\u4e3b&#xff09;\u3001Follower&#xff08;\u4ece&#xff09;\u3001Candidate&#xff08;\u5019\u9009\u8005&#xff09;<\/li>\n<li>\u9009\u4e3b\u89c4\u5219&#xff1a;\u9700\u83b7\u5f97\u8d85\u8fc7\u534a\u6570\u8282\u70b9\u6295\u7968&#xff08;N\/2 &#043; 1&#xff09;<\/li>\n<li>\u6570\u636e\u590d\u5236&#xff1a;Leader \u63a5\u6536\u5199\u8bf7\u6c42\u540e&#xff0c;\u540c\u6b65\u65e5\u5fd7\u5230 Follower&#xff0c;\u9700\u591a\u6570\u8282\u70b9\u786e\u8ba4\u540e\u624d\u8fd4\u56de\u6210\u529f<\/li>\n<li>\u6545\u969c\u8f6c\u79fb&#xff1a;Leader \u5b95\u673a\u540e&#xff0c;Follower \u81ea\u52a8\u89e6\u53d1\u9009\u4e3e&#xff0c;\u79d2\u7ea7\u9009\u51fa\u65b0 Leader<\/li>\n<\/ul>\n<h5>3.2 Dledger \u96c6\u7fa4\u914d\u7f6e&#xff08;3 \u8282\u70b9\u793a\u4f8b&#xff09;<\/h5>\n<h6>\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6&#xff08;dledger-broker-n0.conf&#xff0c;\u8282\u70b9 1&#xff09;<\/h6>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u57fa\u7840\u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nbrokerClusterName&#061;DledgerCluster<br \/>\nbrokerName&#061;broker-dledger  # \u6240\u6709\u8282\u70b9\u5fc5\u987b\u540c\u540d<br \/>\nbrokerId&#061;0                 # Dledger \u6a21\u5f0f\u4e0b brokerId \u65e0\u610f\u4e49&#xff0c;\u4ec5\u9700\u552f\u4e00<br \/>\nlistenPort&#061;10911<br \/>\nnamesrvAddr&#061;192.168.1.10:9876;192.168.1.11:9876<br \/>\nstorePathRootDir&#061;\/data\/rocketmq\/dledger\/store<br \/>\nstorePathCommitLog&#061;\/data\/rocketmq\/dledger\/store\/commitlog<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; Dledger \u6838\u5fc3\u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nenableDLegerCommitLog&#061;true        # \u5f00\u542f Dledger \u6a21\u5f0f&#xff08;\u6838\u5fc3\u5f00\u5173&#xff09;<br \/>\ndLegerGroup&#061;broker-dledger-group  # Raft Group \u540d\u79f0&#xff08;\u6240\u6709\u8282\u70b9\u4e00\u81f4&#xff09;<br \/>\n# \u96c6\u7fa4\u8282\u70b9\u5217\u8868&#xff1a;\u683c\u5f0f \u8282\u70b9ID-IP:\u7aef\u53e3&#xff08;\u7aef\u53e3\u4e3a Dledger \u901a\u4fe1\u7aef\u53e3&#xff0c;\u975e Broker \u7aef\u53e3&#xff09;<br \/>\ndLegerPeers&#061;n0-192.168.1.12:40911;n1-192.168.1.13:40911;n2-192.168.1.14:40911<br \/>\ndLegerSelfId&#061;n0                   # \u5f53\u524d\u8282\u70b9 ID&#xff08;\u6bcf\u4e2a\u8282\u70b9\u4e0d\u540c&#xff1a;n0\/n1\/n2&#xff09;<br \/>\ndLegerElectorType&#061;RAFT            # \u9009\u4e3e\u7c7b\u578b&#xff08;\u56fa\u5b9a\u4e3a RAFT&#xff09;<\/p>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6027\u80fd\u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nsendMessageThreadPoolNums&#061;16      # \u53d1\u9001\u7ebf\u7a0b\u6570<br \/>\npullMessageThreadPoolNums&#061;32      # \u62c9\u53d6\u7ebf\u7a0b\u6570<br \/>\nflushDiskType&#061;ASYNC_FLUSH         # Dledger \u6a21\u5f0f\u4e0b\u5efa\u8bae\u5f02\u6b65\u5237\u76d8&#xff08;\u7531 Raft \u4fdd\u8bc1\u4e00\u81f4\u6027&#xff09;<\/p>\n<h6>\u8282\u70b9 2&#xff08;dledger-broker-n1.conf&#xff09;\u5173\u952e\u5dee\u5f02<\/h6>\n<p>dLegerSelfId&#061;n1  # \u8282\u70b9 ID \u6539\u4e3a n1<br \/>\nlistenPort&#061;10921 # Broker \u7aef\u53e3\u53ef\u4e0d\u540c&#xff08;\u907f\u514d\u51b2\u7a81&#xff09;<\/p>\n<h6>\u8282\u70b9 3&#xff08;dledger-broker-n2.conf&#xff09;\u5173\u952e\u5dee\u5f02<\/h6>\n<p>dLegerSelfId&#061;n2  # \u8282\u70b9 ID \u6539\u4e3a n2<br \/>\nlistenPort&#061;10931 # Broker \u7aef\u53e3\u53ef\u4e0d\u540c<\/p>\n<h5>3.3 Dledger \u96c6\u7fa4\u90e8\u7f72\u6b65\u9aa4<\/h5>\n<li>\u73af\u5883\u51c6\u5907&#xff1a;3 \u53f0\u670d\u52a1\u5668&#xff08;192.168.1.12\/13\/14&#xff09;&#xff0c;\u5df2\u5b89\u88c5 RocketMQ&#xff0c;\u542f\u52a8 NameServer \u96c6\u7fa4\u3002<\/li>\n<li>\u914d\u7f6e\u6587\u4ef6\u5206\u53d1&#xff1a;\u5c06\u4e0a\u8ff0 3 \u4e2a\u914d\u7f6e\u6587\u4ef6\u5206\u522b\u653e\u5230\u5bf9\u5e94\u8282\u70b9\u7684 conf\/ \u76ee\u5f55\u3002<\/li>\n<li>\u542f\u52a8\u96c6\u7fa4&#xff08;\u6240\u6709\u8282\u70b9\u4f9d\u6b21\u6267\u884c&#xff09;&#xff1a;<span class=\"token comment\"># \u8282\u70b9 1<\/span><br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqbroker <span class=\"token parameter variable\">-c<\/span> conf\/dledger-broker-n0.conf <span class=\"token operator\">&amp;<\/span><br \/>\n<span class=\"token comment\"># \u8282\u70b9 2<\/span><br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqbroker <span class=\"token parameter variable\">-c<\/span> conf\/dledger-broker-n1.conf <span class=\"token operator\">&amp;<\/span><br \/>\n<span class=\"token comment\"># \u8282\u70b9 3<\/span><br \/>\n<span class=\"token function\">nohup<\/span> <span class=\"token function\">sh<\/span> bin\/mqbroker <span class=\"token parameter variable\">-c<\/span> conf\/dledger-broker-n2.conf <span class=\"token operator\">&amp;<\/span><\/p>\n<\/li>\n<li>\u9a8c\u8bc1\u96c6\u7fa4\u72b6\u6001&#xff1a;<span class=\"token comment\"># \u67e5\u770b Dledger \u8282\u70b9\u89d2\u8272<\/span><br \/>\n<span class=\"token function\">sh<\/span> bin\/mqadmin getBrokerStatus <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">192.168<\/span>.1.10:9876 <span class=\"token parameter variable\">-b<\/span> <span class=\"token number\">192.168<\/span>.1.12:10911<br \/>\n<span class=\"token comment\"># \u8f93\u51fa\u793a\u4f8b&#xff1a;role&#061;LEADER \u6216 FOLLOWER<\/span><\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u96c6\u7fa4\u6574\u4f53\u72b6\u6001<\/span><br \/>\n<span class=\"token function\">sh<\/span> bin\/mqadmin clusterList <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">192.168<\/span>.1.10:9876<\/p>\n<\/li>\n<hr \/>\n<h3>\u4e8c\u3001\u96c6\u7fa4\u9009\u4e3b\u673a\u5236&#xff08;\u6df1\u5ea6\u89e3\u6790&#xff09;<\/h3>\n<h4>1. \u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f&#xff1a;\u65e0\u81ea\u52a8\u9009\u4e3b<\/h4>\n<p>\u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f\u65e0\u5185\u7f6e\u9009\u4e3b\u903b\u8f91&#xff0c;Master \u8eab\u4efd\u7531\u914d\u7f6e\u6587\u4ef6 brokerId&#061;0 \u548c brokerRole&#061;SYNC_MASTER\/ASYNC_MASTER \u56fa\u5b9a&#xff1a;<\/p>\n<ul>\n<li>\u542f\u52a8\u65f6&#xff0c;Slave \u4f1a\u4e3b\u52a8\u8fde\u63a5 Master \u540c\u6b65\u6570\u636e&#xff0c;Master \u65e0\u9700\u300c\u9009\u4e3e\u300d&#xff1b;<\/li>\n<li>Master \u5b95\u673a\u540e&#xff0c;Slave \u4ecd\u4e3a Slave \u89d2\u8272&#xff0c;\u9700\u4eba\u5de5\u4fee\u6539\u914d\u7f6e\u5c06 Slave \u6539\u4e3a Master&#xff1b;<\/li>\n<li>\u5ba2\u6237\u7aef\u4ec5\u5411 Master \u5199\u6d88\u606f&#xff0c;Slave \u4ec5\u63d0\u4f9b\u8bfb\u80fd\u529b&#xff0c;\u65e0\u81ea\u52a8\u5207\u6362\u903b\u8f91\u3002<\/li>\n<\/ul>\n<h4>2. Dledger \u96c6\u7fa4&#xff1a;Raft \u9009\u4e3b\u6d41\u7a0b&#xff08;\u5b8c\u6574\u6b65\u9aa4&#xff09;<\/h4>\n<p>Dledger \u9009\u4e3b\u57fa\u4e8e Raft \u534f\u8bae&#xff0c;\u6838\u5fc3\u5206\u4e3a\u300c\u521d\u59cb\u9009\u4e3e\u300d\u548c\u300c\u6545\u969c\u91cd\u9009\u300d\u4e24\u4e2a\u9636\u6bb5&#xff0c;\u5168\u7a0b\u81ea\u52a8\u6267\u884c&#xff1a;<\/p>\n<h5>2.1 \u521d\u59cb\u9009\u4e3e\u6d41\u7a0b<\/h5>\n<p>#mermaid-svg-evdKKBGLbze9Teoe{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-evdKKBGLbze9Teoe .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-evdKKBGLbze9Teoe .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-evdKKBGLbze9Teoe .error-icon{fill:#552222;}#mermaid-svg-evdKKBGLbze9Teoe .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-evdKKBGLbze9Teoe .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-evdKKBGLbze9Teoe .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-evdKKBGLbze9Teoe .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-evdKKBGLbze9Teoe .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-evdKKBGLbze9Teoe .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-evdKKBGLbze9Teoe .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-evdKKBGLbze9Teoe .marker{fill:#333333;stroke:#333333;}#mermaid-svg-evdKKBGLbze9Teoe .marker.cross{stroke:#333333;}#mermaid-svg-evdKKBGLbze9Teoe svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-evdKKBGLbze9Teoe p{margin:0;}#mermaid-svg-evdKKBGLbze9Teoe .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-evdKKBGLbze9Teoe .cluster-label text{fill:#333;}#mermaid-svg-evdKKBGLbze9Teoe .cluster-label span{color:#333;}#mermaid-svg-evdKKBGLbze9Teoe .cluster-label span p{background-color:transparent;}#mermaid-svg-evdKKBGLbze9Teoe .label text,#mermaid-svg-evdKKBGLbze9Teoe span{fill:#333;color:#333;}#mermaid-svg-evdKKBGLbze9Teoe .node rect,#mermaid-svg-evdKKBGLbze9Teoe .node circle,#mermaid-svg-evdKKBGLbze9Teoe .node ellipse,#mermaid-svg-evdKKBGLbze9Teoe .node polygon,#mermaid-svg-evdKKBGLbze9Teoe .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-evdKKBGLbze9Teoe .rough-node .label text,#mermaid-svg-evdKKBGLbze9Teoe .node .label text,#mermaid-svg-evdKKBGLbze9Teoe .image-shape .label,#mermaid-svg-evdKKBGLbze9Teoe .icon-shape .label{text-anchor:middle;}#mermaid-svg-evdKKBGLbze9Teoe .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-evdKKBGLbze9Teoe .rough-node .label,#mermaid-svg-evdKKBGLbze9Teoe .node .label,#mermaid-svg-evdKKBGLbze9Teoe .image-shape .label,#mermaid-svg-evdKKBGLbze9Teoe .icon-shape .label{text-align:center;}#mermaid-svg-evdKKBGLbze9Teoe .node.clickable{cursor:pointer;}#mermaid-svg-evdKKBGLbze9Teoe .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-evdKKBGLbze9Teoe .arrowheadPath{fill:#333333;}#mermaid-svg-evdKKBGLbze9Teoe .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-evdKKBGLbze9Teoe .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-evdKKBGLbze9Teoe .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-evdKKBGLbze9Teoe .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-evdKKBGLbze9Teoe .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-evdKKBGLbze9Teoe .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-evdKKBGLbze9Teoe .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-evdKKBGLbze9Teoe .cluster text{fill:#333;}#mermaid-svg-evdKKBGLbze9Teoe .cluster span{color:#333;}#mermaid-svg-evdKKBGLbze9Teoe div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-evdKKBGLbze9Teoe .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-evdKKBGLbze9Teoe rect.text{fill:none;stroke-width:0;}#mermaid-svg-evdKKBGLbze9Teoe .icon-shape,#mermaid-svg-evdKKBGLbze9Teoe .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-evdKKBGLbze9Teoe .icon-shape p,#mermaid-svg-evdKKBGLbze9Teoe .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-evdKKBGLbze9Teoe .icon-shape rect,#mermaid-svg-evdKKBGLbze9Teoe .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-evdKKBGLbze9Teoe .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-evdKKBGLbze9Teoe .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-evdKKBGLbze9Teoe :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6240\u6709\u8282\u70b9\u542f\u52a8<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u91cd\u7f6e\u8d85\u65f6\u5668&#xff0c;\u4fdd\u6301 Follower<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u662f\u5426\u6536\u5230 Leader \u5fc3\u8df3?<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8f6c\u4e3a Candidate&#xff0c;\u53d1\u8d77\u6295\u7968\u8bf7\u6c42<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5411\u6240\u6709\u8282\u70b9\u53d1\u9001 VoteRequest&#xff08;\u5305\u542b\u81ea\u8eab\u4efb\u671f\u3001\u65e5\u5fd7\u7d22\u5f15&#xff09;<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u662f\u5426\u83b7\u5f97\u534a\u6570\u4ee5\u4e0a\u6295\u7968?<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8f6c\u4e3a Leader&#xff0c;\u5b9a\u671f\u53d1\u9001\u5fc3\u8df3&#xff08;\u9ed8\u8ba4 200ms&#xff09;<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b49\u5f85\u8d85\u65f6&#xff0c;\u91cd\u65b0\u53d1\u8d77\u6295\u7968<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u63a5\u6536\u5199\u8bf7\u6c42&#xff0c;\u540c\u6b65\u65e5\u5fd7\u5230 Follower<\/p>\n<p><\/span><\/p>\n<h5>2.2 \u6545\u969c\u91cd\u9009\u6d41\u7a0b&#xff08;Leader \u5b95\u673a&#xff09;<\/h5>\n<p>#mermaid-svg-8mRkHECSyd8fppTA{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-8mRkHECSyd8fppTA .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-8mRkHECSyd8fppTA .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-8mRkHECSyd8fppTA .error-icon{fill:#552222;}#mermaid-svg-8mRkHECSyd8fppTA .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-8mRkHECSyd8fppTA .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-8mRkHECSyd8fppTA .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-8mRkHECSyd8fppTA .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-8mRkHECSyd8fppTA .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-8mRkHECSyd8fppTA .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-8mRkHECSyd8fppTA .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-8mRkHECSyd8fppTA .marker{fill:#333333;stroke:#333333;}#mermaid-svg-8mRkHECSyd8fppTA .marker.cross{stroke:#333333;}#mermaid-svg-8mRkHECSyd8fppTA svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-8mRkHECSyd8fppTA p{margin:0;}#mermaid-svg-8mRkHECSyd8fppTA .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-8mRkHECSyd8fppTA .cluster-label text{fill:#333;}#mermaid-svg-8mRkHECSyd8fppTA .cluster-label span{color:#333;}#mermaid-svg-8mRkHECSyd8fppTA .cluster-label span p{background-color:transparent;}#mermaid-svg-8mRkHECSyd8fppTA .label text,#mermaid-svg-8mRkHECSyd8fppTA span{fill:#333;color:#333;}#mermaid-svg-8mRkHECSyd8fppTA .node rect,#mermaid-svg-8mRkHECSyd8fppTA .node circle,#mermaid-svg-8mRkHECSyd8fppTA .node ellipse,#mermaid-svg-8mRkHECSyd8fppTA .node polygon,#mermaid-svg-8mRkHECSyd8fppTA .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-8mRkHECSyd8fppTA .rough-node .label text,#mermaid-svg-8mRkHECSyd8fppTA .node .label text,#mermaid-svg-8mRkHECSyd8fppTA .image-shape .label,#mermaid-svg-8mRkHECSyd8fppTA .icon-shape .label{text-anchor:middle;}#mermaid-svg-8mRkHECSyd8fppTA .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-8mRkHECSyd8fppTA .rough-node .label,#mermaid-svg-8mRkHECSyd8fppTA .node .label,#mermaid-svg-8mRkHECSyd8fppTA .image-shape .label,#mermaid-svg-8mRkHECSyd8fppTA .icon-shape .label{text-align:center;}#mermaid-svg-8mRkHECSyd8fppTA .node.clickable{cursor:pointer;}#mermaid-svg-8mRkHECSyd8fppTA .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-8mRkHECSyd8fppTA .arrowheadPath{fill:#333333;}#mermaid-svg-8mRkHECSyd8fppTA .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-8mRkHECSyd8fppTA .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-8mRkHECSyd8fppTA .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-8mRkHECSyd8fppTA .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-8mRkHECSyd8fppTA .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-8mRkHECSyd8fppTA .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-8mRkHECSyd8fppTA .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-8mRkHECSyd8fppTA .cluster text{fill:#333;}#mermaid-svg-8mRkHECSyd8fppTA .cluster span{color:#333;}#mermaid-svg-8mRkHECSyd8fppTA div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-8mRkHECSyd8fppTA .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-8mRkHECSyd8fppTA rect.text{fill:none;stroke-width:0;}#mermaid-svg-8mRkHECSyd8fppTA .icon-shape,#mermaid-svg-8mRkHECSyd8fppTA .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-8mRkHECSyd8fppTA .icon-shape p,#mermaid-svg-8mRkHECSyd8fppTA .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-8mRkHECSyd8fppTA .icon-shape rect,#mermaid-svg-8mRkHECSyd8fppTA .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-8mRkHECSyd8fppTA .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-8mRkHECSyd8fppTA .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-8mRkHECSyd8fppTA :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>Leader \u5b95\u673a&#xff0c;\u505c\u6b62\u53d1\u9001\u5fc3\u8df3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Follower \u9009\u4e3e\u8d85\u65f6\u5668\u89e6\u53d1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Follower \u8f6c\u4e3a Candidate&#xff0c;\u81ea\u589e\u4efb\u671f&#xff0c;\u53d1\u8d77\u6295\u7968<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8282\u70b9\u95f4\u6295\u7968&#xff0c;\u9075\u5faa Raft \u6295\u7968\u89c4\u5219<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u662f\u5426\u6709\u8282\u70b9\u83b7\u5f97\u534a\u6570\u4ee5\u4e0a\u6295\u7968?<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u65b0 Leader \u4ea7\u751f&#xff0c;\u63a5\u7ba1\u5199\u670d\u52a1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u91cd\u65b0\u6295\u7968&#xff08;\u4efb\u671f\u81ea\u589e&#xff09;<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u65b0 Leader \u540c\u6b65\u65e5\u5fd7\u5230\u5269\u4f59 Follower<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5ba2\u6237\u7aef\u4ece NameServer \u83b7\u53d6\u65b0 Leader \u5730\u5740&#xff0c;\u6062\u590d\u5199\u670d\u52a1<\/p>\n<p><\/span><\/p>\n<h5>2.3 Raft \u6295\u7968\u6838\u5fc3\u89c4\u5219&#xff08;\u9632\u8111\u88c2\u5173\u952e&#xff09;<\/h5>\n<li>\u4efb\u671f\u4f18\u5148&#xff1a;\u9ad8\u4efb\u671f\u8282\u70b9\u62d2\u7edd\u4f4e\u4efb\u671f\u8282\u70b9\u7684\u6295\u7968\u8bf7\u6c42&#xff1b;<\/li>\n<li>\u65e5\u5fd7\u5b8c\u6574\u6027&#xff1a;\u4ec5\u6295\u7968\u7ed9\u65e5\u5fd7\u6bd4\u81ea\u5df1\u65b0\u7684 Candidate&#xff08;\u4fdd\u8bc1\u6570\u636e\u4e00\u81f4\u6027&#xff09;&#xff1b;<\/li>\n<li>\u591a\u6570\u7968\u89c4\u5219&#xff1a;\u5fc5\u987b\u83b7\u5f97 &gt; N\/2 \u8282\u70b9\u6295\u7968\u624d\u80fd\u6210\u4e3a Leader&#xff08;3 \u8282\u70b9\u9700 2 \u7968&#xff0c;5 \u8282\u70b9\u9700 3 \u7968&#xff09;&#xff1b;<\/li>\n<li>\u5355\u4efb\u671f\u5355 Leader&#xff1a;\u540c\u4e00\u4efb\u671f\u5185\u4ec5\u80fd\u6709\u4e00\u4e2a Leader\u3002<\/li>\n<h4>3. \u9009\u4e3b\u5173\u952e\u914d\u7f6e\u9879<\/h4>\n<table>\n<tr>\u914d\u7f6e\u9879\u9ed8\u8ba4\u503c\u8bf4\u660e\u8c03\u4f18\u5efa\u8bae<\/tr>\n<tbody>\n<tr>\n<td>dLegerElectorType<\/td>\n<td>RAFT<\/td>\n<td>\u9009\u4e3e\u7c7b\u578b&#xff08;\u56fa\u5b9a\u4e3a RAFT&#xff09;<\/td>\n<td>\u4e0d\u53ef\u4fee\u6539<\/td>\n<\/tr>\n<tr>\n<td>dledger.election.timeout.ms<\/td>\n<td>1000<\/td>\n<td>\u9009\u4e3e\u8d85\u65f6\u65f6\u95f4&#xff08;Follower \u672a\u6536\u5230\u5fc3\u8df3\u89e6\u53d1\u9009\u4e3e&#xff09;<\/td>\n<td>\u751f\u4ea7\u5efa\u8bae 1000-3000ms<\/td>\n<\/tr>\n<tr>\n<td>dledger.heartbeat.interval.ms<\/td>\n<td>200<\/td>\n<td>Leader \u5fc3\u8df3\u53d1\u9001\u95f4\u9694<\/td>\n<td>\u5efa\u8bae 200-500ms&#xff08;\u8fc7\u77ed\u589e\u52a0\u7f51\u7edc\u5f00\u9500&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>dledger.commit.timeout.ms<\/td>\n<td>2000<\/td>\n<td>\u65e5\u5fd7\u63d0\u4ea4\u8d85\u65f6\u65f6\u95f4<\/td>\n<td>\u5efa\u8bae 1000-3000ms<\/td>\n<\/tr>\n<tr>\n<td>dledger.max.wait.leader.ms<\/td>\n<td>60000<\/td>\n<td>\u6700\u5927\u7b49\u5f85 Leader \u65f6\u95f4<\/td>\n<td>\u4fdd\u6301\u9ed8\u8ba4\u5373\u53ef<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e09\u3001\u6838\u5fc3\u914d\u7f6e\u9879\u8be6\u89e3&#xff08;\u6309\u6a21\u5757\u5206\u7c7b&#xff09;<\/h3>\n<h4>1. \u96c6\u7fa4\u57fa\u7840\u914d\u7f6e<\/h4>\n<table>\n<tr>\u914d\u7f6e\u9879\u4f5c\u7528\u53d6\u503c\u793a\u4f8b\u751f\u4ea7\u5efa\u8bae<\/tr>\n<tbody>\n<tr>\n<td>brokerClusterName<\/td>\n<td>\u96c6\u7fa4\u540d\u79f0&#xff08;\u6807\u8bc6\u540c\u4e00\u96c6\u7fa4&#xff09;<\/td>\n<td>MyRocketMQCluster<\/td>\n<td>\u6240\u6709\u8282\u70b9\u4fdd\u6301\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td>brokerName<\/td>\n<td>\u4e3b\u4ece\u7ec4\/DLedger \u7ec4\u540d\u79f0<\/td>\n<td>broker-a<\/td>\n<td>\u540c\u4e00\u7ec4\u8282\u70b9\u5fc5\u987b\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td>brokerId<\/td>\n<td>Master\/Slave \u6807\u8bc6<\/td>\n<td>Master&#061;0&#xff0c;Slave&#061;1&#043;<\/td>\n<td>Dledger \u6a21\u5f0f\u4e0b\u65e0\u610f\u4e49<\/td>\n<\/tr>\n<tr>\n<td>namesrvAddr<\/td>\n<td>NameServer \u96c6\u7fa4\u5730\u5740<\/td>\n<td>192.168.1.10:9876;192.168.1.11:9876<\/td>\n<td>\u81f3\u5c11\u914d\u7f6e 2 \u4e2a&#xff0c;\u7528\u5206\u53f7\u5206\u9694<\/td>\n<\/tr>\n<tr>\n<td>listenPort<\/td>\n<td>Broker \u670d\u52a1\u7aef\u53e3<\/td>\n<td>10911<\/td>\n<td>\u4e0d\u540c\u8282\u70b9\u53ef\u4e0d\u540c&#xff0c;\u907f\u514d\u7aef\u53e3\u51b2\u7a81<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. Dledger \u4e13\u5c5e\u914d\u7f6e<\/h4>\n<table>\n<tr>\u914d\u7f6e\u9879\u4f5c\u7528\u53d6\u503c\u793a\u4f8b\u751f\u4ea7\u5efa\u8bae<\/tr>\n<tbody>\n<tr>\n<td>enableDLegerCommitLog<\/td>\n<td>\u5f00\u542f Dledger \u6a21\u5f0f<\/td>\n<td>true\/false<\/td>\n<td>\u751f\u4ea7\u5fc5\u987b\u8bbe\u4e3a true<\/td>\n<\/tr>\n<tr>\n<td>dLegerGroup<\/td>\n<td>Raft Group \u540d\u79f0<\/td>\n<td>broker-dledger-group<\/td>\n<td>\u540c\u4e00 DLedger \u96c6\u7fa4\u5fc5\u987b\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td>dLegerPeers<\/td>\n<td>\u96c6\u7fa4\u8282\u70b9\u5217\u8868<\/td>\n<td>n0-192.168.1.12:40911;n1-192.168.1.13:40911<\/td>\n<td>\u7aef\u53e3\u5efa\u8bae 40911\/40912 \u7b49&#xff0c;\u907f\u514d\u51b2\u7a81<\/td>\n<\/tr>\n<tr>\n<td>dLegerSelfId<\/td>\n<td>\u5f53\u524d\u8282\u70b9 ID<\/td>\n<td>n0\/n1\/n2<\/td>\n<td>\u6bcf\u4e2a\u8282\u70b9\u552f\u4e00&#xff0c;\u4e0e peers \u4e2d\u7684 ID \u5bf9\u5e94<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3. \u6027\u80fd\u4e0e\u4e00\u81f4\u6027\u914d\u7f6e<\/h4>\n<table>\n<tr>\u914d\u7f6e\u9879\u4f5c\u7528\u53d6\u503c\u751f\u4ea7\u5efa\u8bae<\/tr>\n<tbody>\n<tr>\n<td>brokerRole<\/td>\n<td>\u8282\u70b9\u89d2\u8272<\/td>\n<td>SYNC_MASTER\/ASYNC_MASTER\/SLAVE<\/td>\n<td>\u4f20\u7edf\u4e3b\u4ece&#xff1a;Master \u7528 SYNC_MASTER&#xff1b;Dledger \u6a21\u5f0f\u65e0\u9700\u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>flushDiskType<\/td>\n<td>\u5237\u76d8\u7b56\u7565<\/td>\n<td>SYNC_FLUSH\/ASYNC_FLUSH<\/td>\n<td>\u4f20\u7edf\u4e3b\u4ece Master&#xff1a;SYNC_FLUSH&#xff1b;Dledger \u6a21\u5f0f&#xff1a;ASYNC_FLUSH<\/td>\n<\/tr>\n<tr>\n<td>fileReservedTime<\/td>\n<td>\u6d88\u606f\u4fdd\u7559\u65f6\u957f<\/td>\n<td>72&#xff08;\u5c0f\u65f6&#xff09;<\/td>\n<td>\u6838\u5fc3\u4e1a\u52a1\u53ef\u8bbe\u4e3a 168&#xff08;7 \u5929&#xff09;&#xff0c;\u975e\u6838\u5fc3\u8bbe\u4e3a 24<\/td>\n<\/tr>\n<tr>\n<td>mapedFileSizeCommitLog<\/td>\n<td>CommitLog \u6587\u4ef6\u5927\u5c0f<\/td>\n<td>1073741824&#xff08;1GB&#xff09;<\/td>\n<td>\u4fdd\u6301\u9ed8\u8ba4&#xff0c;\u8fc7\u5927\u6613\u5bfc\u81f4\u78c1\u76d8 IO \u5361\u987f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u56db\u3001\u96c6\u7fa4\u4f18\u7f3a\u70b9&#xff08;\u589e\u5f3a\u7248&#xff09;<\/h3>\n<h4>1. \u4f20\u7edf\u4e3b\u4ece\u96c6\u7fa4&#xff08;\u591a Master &#043; \u591a Slave&#xff09;<\/h4>\n<h5>\u4f18\u70b9<\/h5>\n<ul>\n<li>\u90e8\u7f72\u7b80\u5355&#xff1a;\u914d\u7f6e\u5c11&#xff0c;\u8fd0\u7ef4\u95e8\u69db\u4f4e&#xff1b;<\/li>\n<li>\u6027\u80fd\u53ef\u63a7&#xff1a;\u4e3b\u5199\u4ece\u8bfb&#xff0c;\u53ef\u7075\u6d3b\u8c03\u6574 Slave \u6570\u91cf\u63d0\u5347\u8bfb\u6027\u80fd&#xff1b;<\/li>\n<li>\u8d44\u6e90\u5f00\u9500\u4f4e&#xff1a;\u65e0 Raft \u534f\u8bae\u7684\u65e5\u5fd7\u590d\u5236\u548c\u6295\u7968\u5f00\u9500&#xff1b;<\/li>\n<li>\u517c\u5bb9\u6027\u597d&#xff1a;\u652f\u6301\u6240\u6709 RocketMQ \u7248\u672c&#xff0c;\u65e0\u7248\u672c\u9650\u5236\u3002<\/li>\n<\/ul>\n<h5>\u7f3a\u70b9<\/h5>\n<ul>\n<li>\u65e0\u81ea\u52a8\u9009\u4e3b&#xff1a;Master \u5b95\u673a\u9700\u4eba\u5de5\u5207\u6362&#xff0c;\u6062\u590d\u65f6\u95f4\u957f&#xff08;\u5206\u949f\u7ea7&#xff09;&#xff1b;<\/li>\n<li>\u8111\u88c2\u98ce\u9669&#xff1a;\u7f51\u7edc\u5206\u533a\u65f6&#xff0c;Slave \u88ab\u624b\u52a8\u63d0\u5347\u4e3a Master&#xff0c;\u539f Master \u6062\u590d\u540e\u51fa\u73b0\u53cc Master&#xff1b;<\/li>\n<li>\u6570\u636e\u4e00\u81f4\u6027\u5f31&#xff1a;\u5f02\u6b65\u590d\u5236\u6a21\u5f0f\u4e0b&#xff0c;Master \u5b95\u673a\u53ef\u80fd\u4e22\u5931\u672a\u540c\u6b65\u6570\u636e&#xff1b;<\/li>\n<li>\u8fd0\u7ef4\u6210\u672c\u9ad8&#xff1a;\u9700\u4eba\u5de5\u76d1\u63a7\u8282\u70b9\u72b6\u6001&#xff0c;\u6545\u969c\u65f6\u9700\u53ca\u65f6\u4ecb\u5165\u3002<\/li>\n<\/ul>\n<h4>2. Dledger \u96c6\u7fa4&#xff08;Raft \u6a21\u5f0f&#xff09;<\/h4>\n<h5>\u4f18\u70b9<\/h5>\n<ul>\n<li>\u81ea\u52a8\u9009\u4e3b\/\u6545\u969c\u8f6c\u79fb&#xff1a;Leader \u5b95\u673a\u540e\u79d2\u7ea7\u9009\u51fa\u65b0 Leader&#xff0c;\u65e0\u9700\u4eba\u5de5\u5e72\u9884&#xff1b;<\/li>\n<li>\u5f3a\u6570\u636e\u4e00\u81f4\u6027&#xff1a;\u57fa\u4e8e Quorum \u5199\u5165\u89c4\u5219&#xff0c;\u4ec5\u5f53\u591a\u6570\u8282\u70b9\u786e\u8ba4\u65e5\u5fd7\u540e\u624d\u8fd4\u56de\u6210\u529f&#xff1b;<\/li>\n<li>\u9632\u8111\u88c2&#xff1a;Raft \u534f\u8bae\u7684\u300c\u591a\u6570\u7968\u89c4\u5219\u300d\u4ece\u6839\u672c\u4e0a\u907f\u514d\u8111\u88c2&#xff1b;<\/li>\n<li>\u9ad8\u53ef\u7528&#xff1a;3 \u8282\u70b9\u96c6\u7fa4\u53ef\u5bb9\u5fcd 1 \u8282\u70b9\u6545\u969c&#xff0c;5 \u8282\u70b9\u53ef\u5bb9\u5fcd 2 \u8282\u70b9\u6545\u969c&#xff1b;<\/li>\n<li>\u8fd0\u7ef4\u7b80\u5316&#xff1a;\u65e0\u9700\u624b\u52a8\u5207\u6362\u4e3b\u4ece&#xff0c;\u964d\u4f4e\u4eba\u5de5\u64cd\u4f5c\u98ce\u9669\u3002<\/li>\n<\/ul>\n<h5>\u7f3a\u70b9<\/h5>\n<ul>\n<li>\u8d44\u6e90\u5f00\u9500\u9ad8&#xff1a;\n<ul>\n<li>\u5b58\u50a8\u5f00\u9500&#xff1a;\u6bcf\u4efd\u6570\u636e\u9700\u5b58\u50a8 3\/5 \u526f\u672c&#xff08;\u4f20\u7edf\u4e3b\u4ece\u4ec5 2 \u526f\u672c&#xff09;&#xff1b;<\/li>\n<li>\u7f51\u7edc\u5f00\u9500&#xff1a;Leader \u9700\u540c\u6b65\u65e5\u5fd7\u5230 Follower&#xff0c;\u6295\u7968\u548c\u5fc3\u8df3\u589e\u52a0\u7f51\u7edc\u6d41\u91cf&#xff1b;<\/li>\n<\/ul>\n<\/li>\n<li>\u90e8\u7f72\u590d\u6742\u5ea6\u9ad8&#xff1a;\u9700\u914d\u7f6e Raft \u8282\u70b9\u5217\u8868\u3001\u7aef\u53e3\u7b49&#xff0c;\u914d\u7f6e\u9519\u8bef\u6613\u5bfc\u81f4\u96c6\u7fa4\u4e0d\u53ef\u7528&#xff1b;<\/li>\n<li>\u6700\u5c0f\u8282\u70b9\u8981\u6c42&#xff1a;\u81f3\u5c11 3 \u8282\u70b9&#xff08;2 \u8282\u70b9\u65e0\u6cd5\u6ee1\u8db3\u591a\u6570\u7968\u89c4\u5219&#xff09;&#xff0c;\u5c0f\u578b\u4e1a\u52a1\u6210\u672c\u9ad8&#xff1b;<\/li>\n<li>\u7f51\u7edc\u654f\u611f&#xff1a;Raft \u534f\u8bae\u5bf9\u7f51\u7edc\u5ef6\u8fdf\u654f\u611f&#xff08;&gt;10ms \u53ef\u80fd\u5bfc\u81f4\u9009\u4e3e\u4e0d\u7a33\u5b9a&#xff09;&#xff0c;\u4e0d\u9002\u5408\u8de8\u5730\u57df\u90e8\u7f72&#xff1b;<\/li>\n<li>\u7248\u672c\u9650\u5236&#xff1a;\u4ec5\u652f\u6301 RocketMQ 4.5&#043; \u7248\u672c\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e94\u3001\u8111\u88c2\u95ee\u9898\u5206\u6790\u4e0e\u9632\u62a4<\/h3>\n<h4>1. \u8111\u88c2\u5b9a\u4e49<\/h4>\n<p>\u8111\u88c2\u662f\u6307\u96c6\u7fa4\u56e0\u7f51\u7edc\u5206\u533a\u5bfc\u81f4\u300c\u4e00\u4e2a\u96c6\u7fa4\u88ab\u62c6\u5206\u4e3a\u591a\u4e2a\u72ec\u7acb\u5b50\u96c6\u7fa4\u300d&#xff0c;\u6bcf\u4e2a\u5b50\u96c6\u7fa4\u5404\u81ea\u9009\u51fa Leader&#xff0c;\u5bfc\u81f4\u6570\u636e\u4e0d\u4e00\u81f4\u3001\u91cd\u590d\u5199\u5165\u7b49\u95ee\u9898\u3002<\/p>\n<h4>2. \u4e0d\u540c\u6a21\u5f0f\u4e0b\u7684\u8111\u88c2\u98ce\u9669<\/h4>\n<table>\n<tr>\u96c6\u7fa4\u6a21\u5f0f\u662f\u5426\u5b58\u5728\u8111\u88c2\u98ce\u9669\u539f\u56e0\u9632\u62a4\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td>\u4f20\u7edf\u4e3b\u4ece<\/td>\n<td>\u9ad8\u98ce\u9669<\/td>\n<td>\u7f51\u7edc\u5206\u533a\u540e&#xff0c;\u4eba\u5de5\u8bef\u64cd\u4f5c\u5c06 Slave \u63d0\u5347\u4e3a Master&#xff0c;\u539f Master \u6062\u590d\u540e\u5f62\u6210\u53cc Master<\/td>\n<td>1. \u63d0\u5347 Slave \u524d\u5148\u786e\u8ba4\u539f Master \u5f7b\u5e95\u5b95\u673a&#xff1b;2. \u91c7\u7528 VIP \u6f02\u79fb&#043;\u4ef2\u88c1\u673a\u5236&#xff08;\u5982 ZooKeeper \u786e\u8ba4&#xff09;&#xff1b;3. \u7981\u6b62\u8de8\u673a\u623f\u90e8\u7f72\u4f20\u7edf\u4e3b\u4ece<\/td>\n<\/tr>\n<tr>\n<td>Dledger \u96c6\u7fa4<\/td>\n<td>\u65e0\u98ce\u9669<\/td>\n<td>Raft \u534f\u8bae\u7684\u300c\u591a\u6570\u7968\u89c4\u5219\u300d&#xff1a;1. \u7f51\u7edc\u5206\u533a\u540e&#xff0c;\u4ec5\u80fd\u6709\u4e00\u4e2a\u5b50\u96c6\u7fa4\u6ee1\u8db3\u300c\u591a\u6570\u8282\u70b9\u300d\u6761\u4ef6&#xff0c;\u624d\u80fd\u9009\u51fa Leader&#xff1b;2. \u5206\u533a\u6062\u590d\u540e&#xff0c;\u65e7 Leader \u53d1\u73b0\u4efb\u671f\u66f4\u4f4e&#xff0c;\u81ea\u52a8\u8f6c\u4e3a Follower<\/td>\n<td>1. \u914d\u7f6e\u5947\u6570\u8282\u70b9&#xff08;3\/5&#xff09;&#xff1b;2. \u5408\u7406\u8bbe\u7f6e\u9009\u4e3e\u8d85\u65f6\u65f6\u95f4&#xff08;1000-3000ms&#xff09;&#xff1b;3. \u907f\u514d\u8de8\u9ad8\u5ef6\u8fdf\u7f51\u7edc\u90e8\u7f72<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3. Dledger \u9632\u8111\u88c2\u6838\u5fc3\u673a\u5236<\/h4>\n<li>\u4efb\u671f\u673a\u5236&#xff1a;\u6bcf\u4e2a\u8282\u70b9\u7ef4\u62a4\u300c\u4efb\u671f\u53f7\u300d&#xff0c;\u9ad8\u4efb\u671f\u8282\u70b9\u62d2\u7edd\u4f4e\u4efb\u671f\u8282\u70b9\u7684\u8bf7\u6c42&#xff0c;\u5206\u533a\u6062\u590d\u540e\u65e7 Leader \u81ea\u52a8\u964d\u7ea7&#xff1b;<\/li>\n<li>\u591a\u6570\u7968\u89c4\u5219&#xff1a;\u7f51\u7edc\u5206\u533a\u540e&#xff0c;\u53ea\u6709\u5305\u542b\u591a\u6570\u8282\u70b9\u7684\u5b50\u96c6\u7fa4\u80fd\u9009\u51fa Leader&#xff0c;\u5176\u4ed6\u5b50\u96c6\u7fa4\u65e0\u6cd5\u9009\u4e3e&#xff1b;<\/li>\n<li>\u65e5\u5fd7\u6821\u9a8c&#xff1a;Candidate \u9700\u65e5\u5fd7\u8db3\u591f\u65b0\u624d\u80fd\u83b7\u5f97\u6295\u7968&#xff0c;\u907f\u514d\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u8282\u70b9\u6210\u4e3a Leader&#xff1b;<\/li>\n<li>\u5fc3\u8df3\u68c0\u6d4b&#xff1a;Leader \u5b9a\u671f\u53d1\u9001\u5fc3\u8df3&#xff0c;Follower \u8d85\u65f6\u672a\u6536\u5230\u5219\u89e6\u53d1\u9009\u4e3e&#xff0c;\u4fdd\u8bc1 Leader \u552f\u4e00\u6027\u3002<\/li>\n<hr \/>\n<h3>\u516d\u3001\u751f\u4ea7\u73af\u5883\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4>1. \u96c6\u7fa4\u89c4\u5212\u5efa\u8bae<\/h4>\n<table>\n<tr>\u4e1a\u52a1\u89c4\u6a21\u96c6\u7fa4\u6a21\u5f0f\u8282\u70b9\u914d\u7f6e\u6838\u5fc3\u914d\u7f6e<\/tr>\n<tbody>\n<tr>\n<td>\u5c0f\u578b\u4e1a\u52a1&#xff08;QPS &lt; 1w&#xff09;<\/td>\n<td>Dledger 3 \u8282\u70b9<\/td>\n<td>3 \u53f0 8C16G \u670d\u52a1\u5668&#xff0c;\u5355\u76d8 &gt; 200GB<\/td>\n<td>\u5f02\u6b65\u5237\u76d8&#xff0c;\u6d88\u606f\u4fdd\u7559 24 \u5c0f\u65f6<\/td>\n<\/tr>\n<tr>\n<td>\u4e2d\u578b\u4e1a\u52a1&#xff08;1w &lt; QPS &lt; 10w&#xff09;<\/td>\n<td>Dledger 3 \u8282\u70b9 &#043; \u591a\u7ec4 Broker<\/td>\n<td>3 \u8282\u70b9 DLedger \u4e3a\u4e00\u7ec4&#xff0c;\u90e8\u7f72 2-3 \u7ec4<\/td>\n<td>\u6bcf\u7ec4\u72ec\u7acb Raft Group&#xff0c;NameServer 2 \u8282\u70b9<\/td>\n<\/tr>\n<tr>\n<td>\u5927\u578b\u4e1a\u52a1&#xff08;QPS &gt; 10w&#xff09;<\/td>\n<td>Dledger 5 \u8282\u70b9 &#043; \u591a\u7ec4 Broker<\/td>\n<td>5 \u8282\u70b9 DLedger \u4e3a\u4e00\u7ec4&#xff0c;\u90e8\u7f72 3&#043; \u7ec4<\/td>\n<td>\u8de8\u53ef\u7528\u533a\u90e8\u7f72&#xff08;\u540c\u5730\u57df&#xff09;&#xff0c;\u5f00\u542f\u6d88\u606f\u8f68\u8ff9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u5173\u952e\u8fd0\u7ef4\u5efa\u8bae<\/h4>\n<li>NameServer \u96c6\u7fa4&#xff1a;\u81f3\u5c11 2 \u8282\u70b9&#xff0c;\u65e0\u72b6\u6001\u90e8\u7f72&#xff0c;\u65e0\u9700\u4e3b\u4ece&#xff1b;<\/li>\n<li>Dledger \u8282\u70b9&#xff1a;\n<ul>\n<li>\u4f18\u5148\u9009\u62e9\u5947\u6570\u8282\u70b9&#xff08;3\/5&#xff09;&#xff0c;\u907f\u514d\u5076\u6570\u8282\u70b9\u5bfc\u81f4\u6295\u7968\u5e73\u5c40&#xff1b;<\/li>\n<li>\u540c\u5730\u57df\u90e8\u7f72&#xff08;\u8de8\u53ef\u7528\u533a&#xff09;&#xff0c;\u907f\u514d\u8de8\u5730\u57df\u7f51\u7edc\u5ef6\u8fdf&#xff1b;<\/li>\n<li>\u5b58\u50a8\u76ee\u5f55\u4f7f\u7528\u72ec\u7acb\u78c1\u76d8&#xff08;SSD \u6700\u4f73&#xff09;&#xff0c;\u907f\u514d IO \u7ade\u4e89&#xff1b;<\/li>\n<\/ul>\n<\/li>\n<li>\u76d1\u63a7\u6838\u5fc3\u6307\u6807&#xff1a;\n<ul>\n<li>DLedger \u8282\u70b9\u89d2\u8272&#xff08;Leader\/Follower&#xff09;&#xff1b;<\/li>\n<li>\u9009\u4e3e\u6b21\u6570&#xff08;\u9891\u7e41\u9009\u4e3e\u8bf4\u660e\u7f51\u7edc\u4e0d\u7a33\u5b9a&#xff09;&#xff1b;<\/li>\n<li>\u65e5\u5fd7\u590d\u5236\u5ef6\u8fdf&#xff08;Leader \u4e0e Follower \u65e5\u5fd7\u7d22\u5f15\u5dee&#xff09;&#xff1b;<\/li>\n<li>\u6d88\u606f\u5806\u79ef\u91cf&#xff08;Leader \u5b95\u673a\u540e\u53ef\u80fd\u77ed\u6682\u5806\u79ef&#xff09;&#xff1b;<\/li>\n<\/ul>\n<\/li>\n<li>\u707e\u5907\u6f14\u7ec3&#xff1a;\u5b9a\u671f\u624b\u52a8\u5173\u95ed Leader \u8282\u70b9&#xff0c;\u9a8c\u8bc1\u81ea\u52a8\u9009\u4e3b\u548c\u4e1a\u52a1\u6062\u590d\u80fd\u529b\u3002<\/li>\n<hr \/>\n<h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<h4>\u6838\u5fc3\u5173\u952e\u70b9<\/h4>\n<li>\u96c6\u7fa4\u9009\u578b&#xff1a;\u6838\u5fc3\u4e1a\u52a1\u4f18\u5148\u9009\u62e9 Dledger 3\/5 \u8282\u70b9\u96c6\u7fa4&#xff08;\u81ea\u52a8\u9ad8\u53ef\u7528\u3001\u9632\u8111\u88c2&#xff09;&#xff0c;\u4e2d\u5c0f\u4e1a\u52a1\u53ef\u5148\u7528\u4f20\u7edf\u4e3b\u4ece&#xff08;\u964d\u4f4e\u6210\u672c&#xff09;&#xff1b;<\/li>\n<li>\u9009\u4e3b\u673a\u5236&#xff1a;\u4f20\u7edf\u4e3b\u4ece\u65e0\u81ea\u52a8\u9009\u4e3b&#xff0c;Dledger \u57fa\u4e8e Raft \u534f\u8bae\u5b9e\u73b0\u300c\u591a\u6570\u7968\u9009\u4e3e &#043; \u4efb\u671f\u673a\u5236\u300d&#xff0c;\u4fdd\u8bc1 Leader \u552f\u4e00\u6027&#xff1b;<\/li>\n<li>\u8111\u88c2\u9632\u62a4&#xff1a;Dledger \u4f9d\u9760 Raft \u534f\u8bae\u4ece\u5e95\u5c42\u907f\u514d\u8111\u88c2&#xff0c;\u4f20\u7edf\u4e3b\u4ece\u9700\u4eba\u5de5\u89c4\u8303\u64cd\u4f5c&#043;VIP \u4ef2\u88c1&#xff1b;<\/li>\n<li>\u914d\u7f6e\u6838\u5fc3&#xff1a;Dledger \u96c6\u7fa4\u9700\u91cd\u70b9\u914d\u7f6e dLegerPeers \u548c dLegerSelfId&#xff0c;\u4fdd\u8bc1\u8282\u70b9\u5217\u8868\u4e0e\u5b9e\u9645\u90e8\u7f72\u4e00\u81f4&#xff1b;<\/li>\n<li>\u8fd0\u7ef4\u91cd\u70b9&#xff1a;\u76d1\u63a7 DLedger \u9009\u4e3e\u6b21\u6570\u548c\u65e5\u5fd7\u590d\u5236\u5ef6\u8fdf&#xff0c;\u5b9a\u671f\u6f14\u7ec3\u6545\u969c\u6062\u590d\u3002<\/li>\n<h4>\u6700\u7ec8\u5efa\u8bae<\/h4>\n<ul>\n<li>\u6d4b\u8bd5\u73af\u5883&#xff1a;\u5355 Master \u6216\u591a Master&#xff1b;<\/li>\n<li>\u4e2d\u5c0f\u751f\u4ea7&#xff1a;\u4f20\u7edf\u4e3b\u4ece&#xff08;SYNC_MASTER &#043; Slave&#xff09;&#043; VIP \u6f02\u79fb&#xff1b;<\/li>\n<li>\u6838\u5fc3\u751f\u4ea7&#xff1a;Dledger 3 \u8282\u70b9\u96c6\u7fa4&#xff08;\u5f3a\u70c8\u63a8\u8350&#xff09;&#xff1b;<\/li>\n<li>\u8d85\u5927\u89c4\u6a21\u751f\u4ea7&#xff1a;Dledger 5 \u8282\u70b9\u96c6\u7fa4 &#043; \u591a\u7ec4 Broker \u6c34\u5e73\u6269\u5c55\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>RocketMQ \u96c6\u7fa4\u4ecb\u7ecd<br \/>\n\u4e5d\u3001RocketMQ \u96c6\u7fa4\u90e8\u7f72\u4e0e\u9ad8\u53ef\u7528\u673a\u5236<br \/>\nRocketMQ \u96c6\u7fa4\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u901a\u8fc7\u591a\u8282\u70b9\u90e8\u7f72\u5b9e\u73b0\u9ad8\u53ef\u7528\u3001\u9ad8\u541e\u5410\u548c\u6570\u636e\u4e00\u81f4\u6027&#xff0c;\u5176\u96c6\u7fa4\u8bbe\u8ba1\u56f4\u7ed5\u300cBroker \u4e3b\u4ece\u300d\u548c\u300cNameServer \u65e0\u72b6\u6001\u96c6\u7fa4\u300d\u5c55\u5f00&#xff0c;\u6838\u5fc3\u5206\u4e3a\u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f\u548c\u57fa\u4e8e Raft \u534f\u8bae\u7684 Dledger \u81ea\u52a8\u5bb9\u707e\u6a21\u5f0f\u3002\u672c\u6587\u8be6\u7ec6\u8bb2\u89e3\u96c6\u7fa4\u90e8\u7f72\u65b9\u5f0f\u3001\u9009\u4e3b\u673a\u5236\u3001\u6838\u5fc3\u914d\u7f6e\u3001\u4f18\u7f3a\u70b9\u53ca\u8111\u88c2\u9632\u62a4\u65b9\u6848\u3002\u4e00\u3001\u96c6\u7fa4\u90e8\u7f72\u6a21\u5f0f&#xff08;\u589e\u5f3a\u7248&#xff09;<br \/>\n1. \u57fa\u7840\u90e8\u7f72\u6a21\u5f0f<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3294,292],"topic":[],"class_list":["post-79804","post","type-post","status-publish","format-standard","hentry","category-server","tag-rocketmq","tag-292"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RocketMQ \u96c6\u7fa4\u4ecb\u7ecd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/79804.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd \u4e5d\u3001RocketMQ \u96c6\u7fa4\u90e8\u7f72\u4e0e\u9ad8\u53ef\u7528\u673a\u5236 RocketMQ \u96c6\u7fa4\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u901a\u8fc7\u591a\u8282\u70b9\u90e8\u7f72\u5b9e\u73b0\u9ad8\u53ef\u7528\u3001\u9ad8\u541e\u5410\u548c\u6570\u636e\u4e00\u81f4\u6027&#xff0c;\u5176\u96c6\u7fa4\u8bbe\u8ba1\u56f4\u7ed5\u300cBroker \u4e3b\u4ece\u300d\u548c\u300cNameServer \u65e0\u72b6\u6001\u96c6\u7fa4\u300d\u5c55\u5f00&#xff0c;\u6838\u5fc3\u5206\u4e3a\u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f\u548c\u57fa\u4e8e Raft \u534f\u8bae\u7684 Dledger \u81ea\u52a8\u5bb9\u707e\u6a21\u5f0f\u3002\u672c\u6587\u8be6\u7ec6\u8bb2\u89e3\u96c6\u7fa4\u90e8\u7f72\u65b9\u5f0f\u3001\u9009\u4e3b\u673a\u5236\u3001\u6838\u5fc3\u914d\u7f6e\u3001\u4f18\u7f3a\u70b9\u53ca\u8111\u88c2\u9632\u62a4\u65b9\u6848\u3002\u4e00\u3001\u96c6\u7fa4\u90e8\u7f72\u6a21\u5f0f&#xff08;\u589e\u5f3a\u7248&#xff09; 1. \u57fa\u7840\u90e8\u7f72\u6a21\u5f0f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/79804.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-03T00:10:04+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79804.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/79804.html\",\"name\":\"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-03T00:10:04+00:00\",\"dateModified\":\"2026-03-03T00:10:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/79804.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/79804.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79804.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/79804.html","og_locale":"zh_CN","og_type":"article","og_title":"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd \u4e5d\u3001RocketMQ \u96c6\u7fa4\u90e8\u7f72\u4e0e\u9ad8\u53ef\u7528\u673a\u5236 RocketMQ \u96c6\u7fa4\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u901a\u8fc7\u591a\u8282\u70b9\u90e8\u7f72\u5b9e\u73b0\u9ad8\u53ef\u7528\u3001\u9ad8\u541e\u5410\u548c\u6570\u636e\u4e00\u81f4\u6027&#xff0c;\u5176\u96c6\u7fa4\u8bbe\u8ba1\u56f4\u7ed5\u300cBroker \u4e3b\u4ece\u300d\u548c\u300cNameServer \u65e0\u72b6\u6001\u96c6\u7fa4\u300d\u5c55\u5f00&#xff0c;\u6838\u5fc3\u5206\u4e3a\u4f20\u7edf\u4e3b\u4ece\u6a21\u5f0f\u548c\u57fa\u4e8e Raft \u534f\u8bae\u7684 Dledger \u81ea\u52a8\u5bb9\u707e\u6a21\u5f0f\u3002\u672c\u6587\u8be6\u7ec6\u8bb2\u89e3\u96c6\u7fa4\u90e8\u7f72\u65b9\u5f0f\u3001\u9009\u4e3b\u673a\u5236\u3001\u6838\u5fc3\u914d\u7f6e\u3001\u4f18\u7f3a\u70b9\u53ca\u8111\u88c2\u9632\u62a4\u65b9\u6848\u3002\u4e00\u3001\u96c6\u7fa4\u90e8\u7f72\u6a21\u5f0f&#xff08;\u589e\u5f3a\u7248&#xff09; 1. \u57fa\u7840\u90e8\u7f72\u6a21\u5f0f","og_url":"https:\/\/www.wsisp.com\/helps\/79804.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-03T00:10:04+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"10 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/79804.html","url":"https:\/\/www.wsisp.com\/helps\/79804.html","name":"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-03T00:10:04+00:00","dateModified":"2026-03-03T00:10:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/79804.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/79804.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/79804.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"RocketMQ \u96c6\u7fa4\u4ecb\u7ecd"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=79804"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79804\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=79804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=79804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=79804"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=79804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}