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 ...
随机推荐
- JavaScript学习笔记 - 进阶篇(4)- 函数
什么是函数 函数的作用,可以写一次代码,然后反复地重用这个代码. 如:我们要完成多组数和的功能. var sum; sum = 3+2; alert(sum); sum=7+8 ; alert(sum ...
- 蓝桥杯 Car的旅行路线 (预处理+最短路径)
https://www.luogu.org/problem/P1027 题目描述 又到暑假了,住在城市A的Car想和朋友一起去城市B旅游.她知道每个城市都有4个飞机场,分别位于一个矩形的4个顶点上,同 ...
- 吴裕雄--天生自然 pythonTensorFlow自然语言处理:交叉熵损失函数
import tensorflow as tf # 1. sparse_softmax_cross_entropy_with_logits样例. # 假设词汇表的大小为3, 语料包含两个单词" ...
- 静态代码检测CppCheck的使用
CppCheck的官网下载地址:http://cppcheck.sourceforge.net/ 使用方法有两种: 一:以VS插件的形式使用 二:直接使用客户端界面的GUI,来进行检测 第二种方法忽略 ...
- 序列化模块ModelSerializer
课程准备 配置:settings.py INSTALLED_APPS = [ # ... 'rest_framework', ] DATABASES = { 'default': { 'ENGINE' ...
- redis 的雪崩和穿透?
https://blog.csdn.net/Aria_Miazzy/article/details/88066975
- jmeter测试get post 笔记
0 环境 系统环境:win7 1 操作 1 post 新建线程组 2 get 和post新建类似 http请求 只是新建一个参数化我测试的2个url http://127.0.0.1:8080/cry ...
- Leetcode1_两数之和
题目 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标. 你可以假设每种输入只会对应一个答案.但是,你不能重复利用这个数组中同 ...
- python后端面试第三部分:数据储存与缓存相关--长期维护
1. 列举常见的关系型数据库和非关系型都有哪些?2. MySQL常见数据库引擎及比较?3. 简述数据三大范式?4. 什么是事务?MySQL如何支持事务?5. 简述数据库设计中一对多和多对多的应用场景? ...
- 安装rpm包时遇到error: Failed dependencies:错误
在linux下安装rpm包时经常会遇到下面这个问题: error: Failed dependencies: ............................................. ...