master节点:
serverSelectorThreads = 3
brokerRole = SYNC_MASTER
serverSocketRcvBufSize = 131072
osPageCacheBusyTimeOutMills = 1000
shortPollingTimeMills = 1000
clientSocketRcvBufSize = 131072
clusterTopicEnable = true
brokerTopicEnable = true
autoCreateTopicEnable = false
maxErrorRateOfBloomFilter = 20
maxMsgsNumBatch = 64
cleanResourceInterval = 10000
commercialBaseCount = 1
maxTransferCountOnMessageInMemory = 32
brokerFastFailureEnable = true
brokerClusterName = DefaultCluster
flushDiskType = ASYNC_FLUSH
commercialBigCount = 1
mapedFileSizeCommitLog = 1073741824
consumerFallbehindThreshold = 17179869184
autoCreateSubscriptionGroup = true
transientStorePoolEnable = false
flushConsumerOffsetInterval = 5000
waitTimeMillsInHeartbeatQueue = 31000
diskMaxUsedSpaceRatio = 75
cleanFileForciblyEnable = true
slaveReadEnable = false
flushCommitLogLeastPages = 4
expectConsumerNumUseFilter = 32
useEpollNativeSelector = false
enablePropertyFilter = false
messageDelayLevel = 1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h
deleteCommitLogFilesInterval = 100
brokerName = broker-1
maxTransferBytesOnMessageInDisk = 65536
mapedFileSizeConsumeQueue = 6000000
listenPort = 10911
flushConsumeQueueLeastPages = 2
pullMessageThreadPoolNums = 96
useReentrantLockWhenPutMessage = true
flushIntervalConsumeQueue = 1000
sendThreadPoolQueueCapacity = 10000
debugLockEnable = false
haHousekeepingInterval = 20000
diskFallRecorded = true
messageIndexEnable = true
clientAsyncSemaphoreValue = 65535
clientCallbackExecutorThreads = 40
putMsgIndexHightWater = 600000
sendMessageThreadPoolNums = 176
clientManagerThreadPoolQueueCapacity = 1000000
serverSocketSndBufSize = 131072
maxDelayTime = 40
clientSocketSndBufSize = 131072
namesrvAddr = 10.15.74.173:9876;10.15.64.134:9876;10.15.70.141:9876
commercialEnable = true
maxHashSlotNum = 5000000
heartbeatThreadPoolNums = 32
transactionTimeOut = 3000
maxMessageSize = 4194304
adminBrokerThreadPoolNums = 16
defaultQueryMaxNum = 32
forceRegister = true
maxTransferBytesOnMessageInMemory = 262144
enableConsumeQueueExt = false
longPollingEnable = true
serverWorkerThreads = 8
messageIndexSafe = false
deleteConsumeQueueFilesInterval = 100
haSlaveFallbehindMax = 268435456
serverCallbackExecutorThreads = 0
flushCommitLogThoroughInterval = 10000
commercialTimerCount = 1
useTLS = false
redeleteHangedFileInterval = 120000
flushIntervalCommitLog = 500
rocketmqHome = /home/service/app/rocketmq/ZAwgqBZNiiK_broker-1_0_10911/rocketmq-all-4.3.0-bin-release
queryMessageThreadPoolNums = 48
messageStorePlugIn =
serverChannelMaxIdleTimeSeconds = 120
maxIndexNum = 20000000
filterDataCleanTimeSpan = 86400000
filterServerNums = 0
commitCommitLogLeastPages = 4
waitTimeMillsInPullQueue = 5000
haSendHeartbeatInterval = 5000
clientChannelMaxIdleTimeSeconds = 120
filterSupportRetry = false
flushDelayOffsetInterval = 10000
duplicationEnable = false
offsetCheckInSlave = false
clientCloseSocketIfTimeout = false
transientStorePoolSize = 5
waitTimeMillsInSendQueue = 4200
warmMapedFileEnable = false
flushCommitLogTimed = false
flushLeastPagesWhenWarmMapedFile = 4096
clientWorkerThreads = 4
registerNameServerPeriod = 30000
registerBrokerTimeoutMills = 6000
accessMessageInMemoryMaxRatio = 40
highSpeedMode = false
transactionCheckMax = 5
checkCRCOnRecover = true
destroyMapedFileIntervalForcibly = 120000
brokerIP2 = 10.15.74.173
brokerIP1 = 10.15.74.173
commitIntervalCommitLog = 200
clientOnewaySemaphoreValue = 65535
traceOn = true
clientManageThreadPoolNums = 32
channelNotActiveInterval = 60000
mappedFileSizeConsumeQueueExt = 50331648
consumerManagerThreadPoolQueueCapacity = 1000000
serverOnewaySemaphoreValue = 256
haListenPort = 10912
enableCalcFilterBitMap = false
clientPooledByteBufAllocatorEnable = false
storePathRootDir = /home/service/var/rocketmq_data/ZAwgqBZNiiK_broker-1_0_10911/data
syncFlushTimeout = 5000
rejectTransactionMessage = false
commitCommitLogThoroughInterval = 200
connectTimeoutMillis = 3000
queryThreadPoolQueueCapacity = 20000
regionId = DefaultRegion
consumerManageThreadPoolNums = 32
disableConsumeIfConsumerReadSlowly = false
flushConsumerOffsetHistoryInterval = 60000
fetchNamesrvAddrByAddressServer = false
haTransferBatchSize = 819200
compressedRegister = false
storePathCommitLog = /home/service/var/rocketmq_data/ZAwgqBZNiiK_broker-1_0_10911/data/commitlog
commercialTransCount = 1
transactionCheckInterval = 60000
startAcceptSendRequestTimeStamp = 0
serverPooledByteBufAllocatorEnable = true
serverAsyncSemaphoreValue = 64
heartbeatThreadPoolQueueCapacity = 50000
deleteWhen = 07;10;04;11
bitMapLengthConsumeQueueExt = 112
fastFailIfNoBufferInStorePool = false
defaultTopicQueueNums = 8
notifyConsumerIdsChangedEnable = true
flushConsumeQueueThoroughInterval = 60000
fileReservedTime = 24
brokerPermission = 6
transferMsgByHeap = true
pullThreadPoolQueueCapacity = 100000
brokerId = 0
maxTransferCountOnMessageInDisk = 8
slave节点:
serverSelectorThreads = 3
brokerRole = SLAVE
serverSocketRcvBufSize = 131072
osPageCacheBusyTimeOutMills = 1000
shortPollingTimeMills = 1000
clientSocketRcvBufSize = 131072
clusterTopicEnable = true
brokerTopicEnable = true
autoCreateTopicEnable = false
maxErrorRateOfBloomFilter = 20
maxMsgsNumBatch = 64
cleanResourceInterval = 10000
commercialBaseCount = 1
maxTransferCountOnMessageInMemory = 32
brokerFastFailureEnable = true
brokerClusterName = DefaultCluster
flushDiskType = ASYNC_FLUSH
commercialBigCount = 1
mapedFileSizeCommitLog = 1073741824
consumerFallbehindThreshold = 17179869184
autoCreateSubscriptionGroup = true
transientStorePoolEnable = false
flushConsumerOffsetInterval = 5000
waitTimeMillsInHeartbeatQueue = 31000
diskMaxUsedSpaceRatio = 75
cleanFileForciblyEnable = true
slaveReadEnable = false
flushCommitLogLeastPages = 4
expectConsumerNumUseFilter = 32
useEpollNativeSelector = false
enablePropertyFilter = false
messageDelayLevel = 1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h
deleteCommitLogFilesInterval = 100
brokerName = broker-1
maxTransferBytesOnMessageInDisk = 65536
mapedFileSizeConsumeQueue = 6000000
listenPort = 11011
flushConsumeQueueLeastPages = 2
pullMessageThreadPoolNums = 96
useReentrantLockWhenPutMessage = true
flushIntervalConsumeQueue = 1000
sendThreadPoolQueueCapacity = 10000
debugLockEnable = false
haHousekeepingInterval = 20000
diskFallRecorded = true
messageIndexEnable = true
clientAsyncSemaphoreValue = 65535
clientCallbackExecutorThreads = 40
putMsgIndexHightWater = 600000
sendMessageThreadPoolNums = 176
clientManagerThreadPoolQueueCapacity = 1000000
serverSocketSndBufSize = 131072
maxDelayTime = 40
clientSocketSndBufSize = 131072
namesrvAddr = 10.15.74.173:9876;10.15.64.134:9876;10.15.70.141:9876
commercialEnable = true
maxHashSlotNum = 5000000
heartbeatThreadPoolNums = 32
transactionTimeOut = 3000
maxMessageSize = 4194304
adminBrokerThreadPoolNums = 16
defaultQueryMaxNum = 32
forceRegister = true
maxTransferBytesOnMessageInMemory = 262144
enableConsumeQueueExt = false
longPollingEnable = true
serverWorkerThreads = 8
messageIndexSafe = false
deleteConsumeQueueFilesInterval = 100
haSlaveFallbehindMax = 268435456
serverCallbackExecutorThreads = 0
flushCommitLogThoroughInterval = 10000
commercialTimerCount = 1
useTLS = false
redeleteHangedFileInterval = 120000
flushIntervalCommitLog = 500
rocketmqHome = /home/service/app/rocketmq/ZAwgqBZNiiK_broker-1_1_11011/rocketmq-all-4.3.0-bin-release
queryMessageThreadPoolNums = 48
messageStorePlugIn =
serverChannelMaxIdleTimeSeconds = 120
maxIndexNum = 20000000
filterDataCleanTimeSpan = 86400000
filterServerNums = 0
commitCommitLogLeastPages = 4
waitTimeMillsInPullQueue = 5000
haSendHeartbeatInterval = 4000
clientChannelMaxIdleTimeSeconds = 120
filterSupportRetry = false
flushDelayOffsetInterval = 10000
duplicationEnable = false
offsetCheckInSlave = false
clientCloseSocketIfTimeout = false
transientStorePoolSize = 5
waitTimeMillsInSendQueue = 4200
warmMapedFileEnable = false
flushCommitLogTimed = false
flushLeastPagesWhenWarmMapedFile = 4096
clientWorkerThreads = 4
registerNameServerPeriod = 30000
registerBrokerTimeoutMills = 6000
accessMessageInMemoryMaxRatio = 40
highSpeedMode = false
transactionCheckMax = 5
checkCRCOnRecover = true
destroyMapedFileIntervalForcibly = 120000
brokerIP2 = 10.15.70.141
brokerIP1 = 10.15.70.141
commitIntervalCommitLog = 200
clientOnewaySemaphoreValue = 65535
traceOn = true
clientManageThreadPoolNums = 32
channelNotActiveInterval = 60000
mappedFileSizeConsumeQueueExt = 50331648
consumerManagerThreadPoolQueueCapacity = 1000000
serverOnewaySemaphoreValue = 256
haListenPort = 11012
enableCalcFilterBitMap = false
clientPooledByteBufAllocatorEnable = false
storePathRootDir = /home/service/var/rocketmq_data/ZAwgqBZNiiK_broker-1_1_11011/data
syncFlushTimeout = 5000
rejectTransactionMessage = false
commitCommitLogThoroughInterval = 200
connectTimeoutMillis = 3000
queryThreadPoolQueueCapacity = 20000
regionId = DefaultRegion
consumerManageThreadPoolNums = 32
disableConsumeIfConsumerReadSlowly = false
flushConsumerOffsetHistoryInterval = 60000
fetchNamesrvAddrByAddressServer = false
haTransferBatchSize = 32768
compressedRegister = false
storePathCommitLog = /home/service/var/rocketmq_data/ZAwgqBZNiiK_broker-1_1_11011/data/commitlog
commercialTransCount = 1
transactionCheckInterval = 60000
startAcceptSendRequestTimeStamp = 0
serverPooledByteBufAllocatorEnable = true
serverAsyncSemaphoreValue = 64
heartbeatThreadPoolQueueCapacity = 50000
deleteWhen = 04;07;16;23
bitMapLengthConsumeQueueExt = 112
fastFailIfNoBufferInStorePool = false
defaultTopicQueueNums = 8
notifyConsumerIdsChangedEnable = true
flushConsumeQueueThoroughInterval = 60000
fileReservedTime = 24
brokerPermission = 6
transferMsgByHeap = true
pullThreadPoolQueueCapacity = 100000
brokerId = 1
maxTransferCountOnMessageInDisk = 8

RocketMQ borker配置文件的更多相关文章

  1. Linux环境快速搭建RocketMQ双Master模式

    RocketMQ的集群部署方式有多种,其中包括单个Master.多个Master.多Master多Slave模式(异步复制)以及多Master多Slave模式(同步双写).本次以多Master集群模式 ...

  2. RocketMQ初探(五)之RocketMQ4.2.6集群部署(单Master+双Master+2m+2s+async异步复制)

    以下部署方式结合众多博友的博客,经过自己一步一步实际搭建,如有雷同,侵权行为,请见谅...其中遇到不少的坑,希望能帮到更多的人,现在很少能找到一份完整版4.2.6版本的搭建教程了,如果你有幸遇见,那么 ...

  3. RocketMQ学习笔记(4)----RocketMQ搭建双Master集群

    前面已经学习了RockeMQ的四种集群方式,接下来就来搭建一个双Master(2m)的集群环境. 1. 双Master服务器环境 序号 ip 用户名 密码 角色 模式 (1) 47.105.145.1 ...

  4. RocketMQ环境搭建(双master模式)

    介绍: 多Master模式,一个集群无Slave,全是Master,例如2个Master或者3个Master. 优点:配置简单,单个Master宕机或重启维护对应用无影响,在磁盘配置为RAID10时, ...

  5. rocketmq在linux搭建双master遇到的坑

    我的环境 两台阿里云centos7服务器 首先,去官网下载解压包,解压. 然后进入bin目录,需要修改runserver.sh文件和runbroker.sh文件.因为rocketmq默认配置文件需要的 ...

  6. rocketmq安装部署过程(4.0.0版本)

    准备工作 3个虚拟机节点的构成如下 : 安装步骤 操作过程 1.安装包已经上传至其中1个节点. 2.解压缩安装包 命令:unzip rocketmq-all-4.0.0-incubating-bin- ...

  7. 手把手带你了解消息中间件(3)——RocketMQ

    一.RocketMQ简介   RocketMQ作为一款纯java.分布式.队列模型的开源消息中间件,支持事务消息.顺序消息.批量消息.定时消息.消息回溯等. 二.RocketMQ架构   如图所示为R ...

  8. RocketMQ-quickstart(批量消费问题)

    基本概念: Producer:消息生产者,负责生产消息,一般由业务系统负责生产消息. Consumer:消息消费者,负责消费消息,一般是后台系统负责异步消费. Push Consumer:Consum ...

  9. kafka集群broker频繁挂掉问题解决方案

    现象:kafka集群频繁挂掉 排查日志:查看日志文件[kafkaServer.out],发现错误日志:ERROR Shutdown broker because all log dirs in /tm ...

随机推荐

  1. vim编辑模式下黑色背景,下来过程中出现白条的问题

    问题描述,原本是黑色背景,但是下拉过程中没有文字的地方会变成白色,非常影响美观,搞了好久现在中与改好了.问题如图: 打开-/.vimrc 文件,在如图所示位置加上62-64行代码即可.root用户的添 ...

  2. 第04项目:淘淘商城(SpringMVC+Spring+Mybatis)【第十一天】(购物车+订单)

    https://pan.baidu.com/s/1bptYGAb#list/path=%2F&parentPath=%2Fsharelink389619878-229862621083040 ...

  3. cf F. Shovels Shop

    https://codeforces.com/contest/1154/problem/F 给定m个折扣 每个折扣的{x,y}的意思是每次购买如果买到确切的x只铲子就其中的最便宜的y只铲子免付: 先贪 ...

  4. android weight

  5. PAT甲级——1005.SpellItRight(20分)

    Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output e ...

  6. memory barrier 内存栅栏 并发编程

    并发编程 memory barrier (内存栅栏) CPU级 1.CPU中有多条流水线,执行代码时,会并行进行执行代码,所以CPU需要把程序指令 分配给每个流水线去分别执行,这个就是乱序执行: 2. ...

  7. Flume(三) —— 断点续传 与 事务

    断点续传 # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe / ...

  8. 跟踪路由(tracert)及ping命令

    由于最近学校网络不好,老是有问题,加上最近写了个数据展示系统,要部署到买的域名下,用到了这两个命令 首先,一台服务器,一台工作站,一个笔记本(我的,来测试ip是否通的) 服务器已经部署了三个网站(一个 ...

  9. 安卓ButtomBar实现方法

    这里ButtomBar有3个items,分别有icon和文字,在当前fragment时,所属的icon和文字会显示不同颜色. 1. 首先要准好ICON素材,命名规范要清楚. 2. 实现这个Buttom ...

  10. python学习笔记(23)-异常处理

    #异常处理与调试 #异常:在运行代码过程中遇到的任何错误,带有error字样的都是异常 #异常处理,对代码中所有可能出现的异常进行的处理 #1.处理某个错误 2,处理某个类型的错误 3 有错就抓 一. ...