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 ...
随机推荐
- Educational Codeforces Round 68 差G
Educational Codeforces Round 68 E 题意:有 n 个线段,每个都是平行 x 或者 y 轴,只有互相垂直的两线段才会相交.问形成了多少个矩形. \(n \le 5000, ...
- Python_实战爬虫
# -*- coding: utf-8 -*-__auther__ = "jiachaojun"__time__ = '2020/1/12 11:03'import request ...
- [USACO09MAR]Moon哞哞叫Moon Mooing(模拟)
链接:https://ac.nowcoder.com/acm/contest/1086/F来源:牛客网 题目描述 A full moon casts some sort of spell on the ...
- win下PowerShell的簡單使用
- [LC] 347. Top K Frequent Elements
Given a non-empty array of integers, return the k most frequent elements. Example 1: Input: nums = [ ...
- 吴裕雄--天生自然python学习笔记:python 用pygame模块开发俄罗斯方块游戏
俄罗斯方块游戏 多年前,游戏机中最流行的游戏就是“俄罗斯方块”了.时至今日,虽然网络 游戏日新月异 ,但“俄罗斯方块”这款小游戏仍在许多人心中 占有一席之地.本例中, 我们将亲手设计一个简单的俄罗斯方 ...
- 用logstash 作数据的聚合统计
用logstash 作数据的聚合统计 以spark-streaming 处理消费数据,统计日志经spark sql存储在mysql中 日志写入方式为append val wordsDataFrame ...
- rsync备份(一)
1.Rsync基本概述 )概念 rsync:remote sync )开源 )备份 )https://rsync.samba.org/ samba服务器:文件共享,cifs,common intern ...
- easyui 表单提交前的 confirm 处理
最近学习用 easyui,异步提交表单是遇到一个小问题 $('#fModiDetail').form('submit',{ url:'...', onSubmit:function(){ if($(t ...
- XRichText
XRichText是一个可以显示Html富文本的TextView.可以用于显示新闻.商品详情等场景.欢迎star.fork,提出意见. 使用 Gradle : compile 'cn.droidlov ...