Skip to content

Commit f2c6b89

Browse files
authored
port rocketmq-operator config (#365)
1 parent e6afe8a commit f2c6b89

File tree

6 files changed

+17851
-0
lines changed

6 files changed

+17851
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: broker-config
5+
data:
6+
# BROKER_MEM sets the broker JVM, if set to "" then Xms = Xmx = max(min(1/2 ram, 1024MB), min(1/4 ram, 8GB))
7+
BROKER_MEM: " -Xms2g -Xmx2g -Xmn1g "
8+
broker-common.conf: |
9+
# brokerClusterName, brokerName, brokerId are automatically generated by the operator and do not set it manually!!!
10+
deleteWhen=04
11+
fileReservedTime=48
12+
flushDiskType=ASYNC_FLUSH
13+
# set brokerRole to ASYNC_MASTER or SYNC_MASTER. DO NOT set to SLAVE because the replica instance will automatically be set!!!
14+
brokerRole=ASYNC_MASTER

0 commit comments

Comments
 (0)