RocketMQ borker配置文件
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配置文件的更多相关文章
- Linux环境快速搭建RocketMQ双Master模式
RocketMQ的集群部署方式有多种,其中包括单个Master.多个Master.多Master多Slave模式(异步复制)以及多Master多Slave模式(同步双写).本次以多Master集群模式 ...
- RocketMQ初探(五)之RocketMQ4.2.6集群部署(单Master+双Master+2m+2s+async异步复制)
以下部署方式结合众多博友的博客,经过自己一步一步实际搭建,如有雷同,侵权行为,请见谅...其中遇到不少的坑,希望能帮到更多的人,现在很少能找到一份完整版4.2.6版本的搭建教程了,如果你有幸遇见,那么 ...
- RocketMQ学习笔记(4)----RocketMQ搭建双Master集群
前面已经学习了RockeMQ的四种集群方式,接下来就来搭建一个双Master(2m)的集群环境. 1. 双Master服务器环境 序号 ip 用户名 密码 角色 模式 (1) 47.105.145.1 ...
- RocketMQ环境搭建(双master模式)
介绍: 多Master模式,一个集群无Slave,全是Master,例如2个Master或者3个Master. 优点:配置简单,单个Master宕机或重启维护对应用无影响,在磁盘配置为RAID10时, ...
- rocketmq在linux搭建双master遇到的坑
我的环境 两台阿里云centos7服务器 首先,去官网下载解压包,解压. 然后进入bin目录,需要修改runserver.sh文件和runbroker.sh文件.因为rocketmq默认配置文件需要的 ...
- rocketmq安装部署过程(4.0.0版本)
准备工作 3个虚拟机节点的构成如下 : 安装步骤 操作过程 1.安装包已经上传至其中1个节点. 2.解压缩安装包 命令:unzip rocketmq-all-4.0.0-incubating-bin- ...
- 手把手带你了解消息中间件(3)——RocketMQ
一.RocketMQ简介 RocketMQ作为一款纯java.分布式.队列模型的开源消息中间件,支持事务消息.顺序消息.批量消息.定时消息.消息回溯等. 二.RocketMQ架构 如图所示为R ...
- RocketMQ-quickstart(批量消费问题)
基本概念: Producer:消息生产者,负责生产消息,一般由业务系统负责生产消息. Consumer:消息消费者,负责消费消息,一般是后台系统负责异步消费. Push Consumer:Consum ...
- kafka集群broker频繁挂掉问题解决方案
现象:kafka集群频繁挂掉 排查日志:查看日志文件[kafkaServer.out],发现错误日志:ERROR Shutdown broker because all log dirs in /tm ...
随机推荐
- 2019牛客暑期多校训练营(第五场)B.generator 1
传送门:https://ac.nowcoder.com/acm/contest/885/B 题意:给出,由公式 求出 思路:没学过矩阵快速幂.题解说是矩阵快速幂,之后就学了一遍.(可以先去学一下矩阵快 ...
- Rnotebook中用python画图
如果notebook需要转化为pdf, 能想到办法是保存图片文件,嵌入mardown语法中. 但是如果在html中显示, 可以考虑下面思虑, 比较取巧. ``` {python, engine.pat ...
- 解决UITextView无法滚到底部
程序中有一个UITextView控件 @property (weak, nonatomic) IBOutlet UITextView *textView; 一般情况下,以下代码可实现UITextVie ...
- java select单线程 服务器
package com.Select; /** *select单线程 服务器 **/ import java.io.IOException; import java.net.InetSocketAdd ...
- Windows Server 2008 R2 安全加固
0x00 简介 安全加固是企业安全中及其重要的一环,其主要内容包括账号安全.认证授权.协议安全.审计安全四项,这篇博客简单整理一下Windows Server 2008 R2的安全加固方案. 0x01 ...
- oracle中null的理解
< EXAMNO STUNO WRITTENEXAM LABEXAM e2014070001 s25301 80 58 e2014070002 s25302 50 e2014070003 s ...
- F. Maximum Weight Subset(贪心or树形dp解法)
题:https://codeforces.com/contest/1249/problem/F 题意:给一颗树,边权为1,节点有点权,问取到一个点集,俩俩之间路径超过k,是点权和最大 思路:贪心地取点 ...
- day39-进程-队列
#队列Queue:进程之间数据是隔离的,不共享的,但是通过multiprocessing的Queue可以实现进程之间的通信. #1.先进先出:把1 2 3放到队列里,按1 2 3的顺序拿出来. fro ...
- Object.prototype.toString.call(obj).slice(8,-1)
1.Object.prototype.toString() 该方法返回描述某个对象数据类型的字符串,如自定义的对象没有被覆盖,则会返回“[object type]”,其中,type则是实际的对象类型. ...
- 国内外主流的三维GIS软件
我国GIS经过三十多年的发展,理论和技术日趋成熟,在传统二维GIS已不能满足应用需求的情况下,三维GIS应运而生,并成为GIS的重要发展方向之一.上世纪八十年代末以来,空间信息三维可视化技术成为业界研 ...