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 2022/07/13 03:58:22 UTC

[GitHub] [rocketmq-dashboard] baiyapeng opened a new issue, #102: can not find slave in tab of cluster

baiyapeng opened a new issue, #102:
URL: https://github.com/apache/rocketmq-dashboard/issues/102

   <img width="1696" alt="image" src="https://user-images.githubusercontent.com/20579573/178646847-f8984ae9-88aa-4e14-b37d-79a7b8fd8da8.png">
   
   config:
   ```
   brokerClusterName=rocketmq-cluster
   #broker名字,名字一样的节点就是一组主从节点。
   brokerName=broker-a
   #brokerid,0就表示是Master,>0的都是表示Slave
   brokerId=0
   brokerIP1=1
   #nameServer地址,分号分割
   namesrvAddr=:9876
   #在发送消息时,自动创建服务器不存在的topic,默认创建的队列数
   defaultTopicQueueNums=4
   #是否允许Broker自动创建Topic,建议线下开启,线上关闭
   autoCreateTopicEnable=true
   #是否允许Broker自动创建订阅组,建议线下开启,线上关闭autoCreateSubscriptionGroup=true
   #Broker对外服务的监听端口
   listenPort=10911
   #删除文件时间点,默认凌晨4点
   deleteWhen=04
   #文件保留时间,默认48小时
   fileReservedTime=120
   #commitLog每个文件的大小默认1G
   mapedFileSizeCommitLog=1073741824
   #ConsumeQueue每个文件默认存30W条,根据业务情况调整mapedFileSizeConsumeQueue=300000
   #destroyMapedFileIntervalForcibly=120000
   #redeleteHangedFileInterval=120000
   #检测物理文件磁盘空间
   diskMaxUsedSpaceRatio=88
   #存储路径
   storePathRootDir=/app/rocketmq/store
   #commitLog存储路径
   storePathCommitLog=/app/rocketmq/store/commitlog
   #消费队列存储路径存储路径
   storePathConsumeQueue=/app/rocketmq/store/consumequeue
   #消息索引存储路径
   storePathIndex=/app/rocketmq/store/index
   #checkpoint文件存储路径
   storeCheckpoint=/app/rocketmq/store/checkpoint
   #abort文件存储路径
   abortFile=/app/rocketmq/store/abort
   #限制的消息大小
   maxMessageSize=65536
   #flushCommitLogLeastPages=4
   #flushConsumeQueueLeastPages=2
   #flushCommitLogThoroughInterval=10000
   #flushConsumeQueueThoroughInterval=60000
   #Broker的角色
   #-ASYNC_MASTER异步复制Master
   #-SYNC_MASTER同步双写Master
   #-SLAVE
   brokerRole=ASYNC_MASTER
   #刷盘方式
   #-ASYNC_FLUSH异步刷盘
   #-SYNC_FLUSH同步刷盘
   flushDiskType=ASYNC_FLUSH
   #checkTransactionMessageEnable=false
   #发消息线程池数量
   #sendMessageThreadPoolNums=128
   #拉消息线程池数量
   #pullMessageThreadPoolNums=128
   ```
   
   ```
   brokerClusterName=rocketmq-cluster
   #broker名字,名字一样的节点就是一组主从节点。
   brokerName=broker-a
   #brokerid,0就表示是Master,>0的都是表示Slave
   brokerId=2
   brokerIP1=
   #nameServer地址,分号分割
   namesrvAddr=:9876
   #在发送消息时,自动创建服务器不存在的topic,默认创建的队列数
   defaultTopicQueueNums=4
   #是否允许Broker自动创建Topic,建议线下开启,线上关闭
   autoCreateTopicEnable=true
   #是否允许Broker自动创建订阅组,建议线下开启,线上关闭autoCreateSubscriptionGroup=true
   #Broker对外服务的监听端口
   listenPort=10911
   #删除文件时间点,默认凌晨4点
   deleteWhen=04
   #文件保留时间,默认48小时
   fileReservedTime=120
   #commitLog每个文件的大小默认1G
   mapedFileSizeCommitLog=1073741824
   #ConsumeQueue每个文件默认存30W条,根据业务情况调整mapedFileSizeConsumeQueue=300000
   #destroyMapedFileIntervalForcibly=120000
   #redeleteHangedFileInterval=120000
   #检测物理文件磁盘空间
   diskMaxUsedSpaceRatio=88
   #存储路径
   storePathRootDir=/app/rocketmq/store
   #commitLog存储路径
   storePathCommitLog=/app/rocketmq/store/commitlog
   #消费队列存储路径存储路径
   storePathConsumeQueue=/app/rocketmq/store/consumequeue
   #消息索引存储路径
   storePathIndex=/app/rocketmq/store/index
   #checkpoint文件存储路径
   storeCheckpoint=/app/rocketmq/store/checkpoint
   #abort文件存储路径
   abortFile=/app/rocketmq/store/abort
   #限制的消息大小
   maxMessageSize=65536
   #flushCommitLogLeastPages=4
   #flushConsumeQueueLeastPages=2
   #flushCommitLogThoroughInterval=10000
   #flushConsumeQueueThoroughInterval=60000
   #Broker的角色
   #-ASYNC_MASTER异步复制Master
   #-SYNC_MASTER同步双写Master
   #-SLAVE
   brokerRole=ASYNC_MASTER
   #刷盘方式
   #-ASYNC_FLUSH异步刷盘
   #-SYNC_FLUSH同步刷盘
   flushDiskType=ASYNC_FLUSH
   #checkTransactionMessageEnable=false
   #发消息线程池数量
   #sendMessageThreadPoolNums=128
   #拉消息线程池数量
   #pullMessageThreadPoolNums=128
   ```


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-dashboard] baiyapeng closed issue #102: can not find slave in tab of cluster

Posted by GitBox <gi...@apache.org>.
baiyapeng closed issue #102: can not find slave in tab of cluster
URL: https://github.com/apache/rocketmq-dashboard/issues/102


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-dashboard] zhangjidi2016 commented on issue #102: can not find slave in tab of cluster

Posted by GitBox <gi...@apache.org>.
zhangjidi2016 commented on issue #102:
URL: https://github.com/apache/rocketmq-dashboard/issues/102#issuecomment-1189744486

   
   ![image](https://user-images.githubusercontent.com/18254437/179884716-fb49b6ba-2b96-4c16-a4c4-3a2840bdb935.png)
   
   The brokerRole parameter should be **SLAVE** in the slave broker configuration file


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org