我正在尝试构建3个节点的对称共置群集(每个节点2个备份)
此外,我正在使用静态连接器
使用用户界面时,我可以看到:
node1有2个备份(node2 + 3)
node2有1个备份(node1)
node3没有备份
我正在使用2.6.0,broker.xml:
<ha-policy>
<replication>
<colocated>
<backup-port-offset>100</backup-port-offset>
<excludes>
<connector-ref>node60</connector-ref>
<connector-ref>node61</connector-ref>
</excludes>
<request-backup>true</request-backup>
<max-backups>2</max-backups>
<backup-request-retries>-1</backup-request-retries>
<backup-request-retry-interval>5000</backup-request-retry-interval>
<master/>
<slave/>
</colocated>
</replication>
</ha-policy>