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. c语言删除文件的指定行,更新文件

    有时候我们需要删除文件的某一行,来更新文件,在这我个人扩展了一个函数,以删除指定条件的行. static void UpdateHistoryFile(void) { FILE *fin,*fout; ...

  2. 祘头君的字符(DFS)

    一.题目 有n名选手在玩游戏,他们每个人有一个字符,每个字符都有自己固定的若干个特征.特征的种类数为k.每个人的特征为特征总集的一个子集. 两个字符的相似度定义为:如果两个字符A和B同时拥有某个特征或 ...

  3. 伯特兰·亚瑟·威廉·罗素[註 1],第三代羅素伯爵(英语:Bertrand Arthur William Russell, 3rd Earl Russell,1872年5月18日-1970年2月2日),OM,FRS,英国哲学家、数学家和逻辑学家,致力于哲学的大众化、普及化。[2] 在數學哲學上採取弗雷格的邏輯主義立場,認為數學可以化約到邏輯,哲學可以像邏輯一樣形式系統化,主張逻辑原子論。[3]

    一年假. 1920年7月,罗素申請了一年假; 這被批准了.他花了一年時間在中國和日本講學.对中国学术界有相当影响. 罗素说:  对爱情的渴望,对知识的追求,对人类苦难不可遏制的同情,是支配我一生的单纯 ...

  4. 吴裕雄--天生自然TensorFlow高层封装:使用TFLearn处理MNIST数据集实现LeNet-5模型

    # 1. 通过TFLearn的API定义卷机神经网络. import tflearn import tflearn.datasets.mnist as mnist from tflearn.layer ...

  5. vim删除所有

    vim test.log :0,$d :wq 注释: :0,$d是删除第0行到最后一行的意思::wq是保存并退出的意思. 执行上面的语句之后,文件中的内容就全部被删除掉了!

  6. 897A. Scarborough Fair# 斯卡布罗集市(模拟)

    题目出处:http://codeforces.com/problemset/problem/897/A 题目大意:将某个范围内的某个字符换成另外一个字符 #include<iostream> ...

  7. 量化投资_TB交易开拓者A函数和Q函数详解

    //////////////////A函数详解/////////////// //A函数主要在端口上进行下单操作//////////////// A_AccountID说明 返回当前公式应用的交易帐户 ...

  8. 迅为iTOP-4418开发板编译Ubuntu

    Ubuntu 系统比较特殊,源码就是它的镜像.Ubuntu 系统通过解压的方式进行烧写,我们也可以通过配置解压出来的 Ubuntu 系统源码文件夹,来配置 Ubuntu 系统.然后通过打包压缩的方式来 ...

  9. replace|同时替换

    a= 'eeekkksksksk' print a.replace('e','s').replace('s','k') #kkkkkkkkkkkk change={"e":&quo ...

  10. js使用心得——避免全局变量冲突的小技巧

    在写js代码的时候,经常会因为这样或者那样的原因用到全局变量,如果全局变量只在一个js里使用,那就没问题,但如果变量在不同的js文件里出现,这时隐藏的问题就会开始暴露,也许你能很快修复出现的BUG,又 ...