You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/09/10 16:24:07 UTC
[GitHub] [rocketmq] superheizai opened a new issue #1450: clsuterList
command get wrong result when different cluster with same name server and
same brokerName
superheizai opened a new issue #1450: clsuterList command get wrong result when different cluster with same name server and same brokerName
URL: https://github.com/apache/rocketmq/issues/1450
![image](https://user-images.githubusercontent.com/3948418/64631569-f45d1780-d429-11e9-96fe-06d666ce45c2.png)
1. firstly, create broker-a.properties
brokerClusterName=DefaultCluster
brokerName=broker-a
brokerId=0
deleteWhen=04
fileReservedTime=48
listenPort=10911
namesrvAddr=localhost:9876
brokerRole=ASYNC_MASTER
flushDiskType=ASYNC_FLUSH
startup with broker-a.properties, we can see the right output.
2. secondly, create broker-b.properties
brokerClusterName=DefaultCluster1
brokerName=broker-a
brokerId=0
deleteWhen=04
fileReservedTime=48
listenPort=10921
namesrvAddr=localhost:9876
brokerRole=ASYNC_MASTER
flushDiskType=ASYNC_FLUSH
storePathRootDir=~/rocketmq/data/store
storePathCommitLog=~/rocketmq/data/store/commitlog
storePathIndex=~/rocketmq/data/store/index
storePathConsumeQueue=~/rocketmq/data/store/consumequeue
then ClusterList give two broker both with 10921 port
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services