Skip to content

Commit

Permalink
port rocketmq-operator config (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
chasing311 authored Mar 22, 2024
1 parent e6afe8a commit f2c6b89
Show file tree
Hide file tree
Showing 6 changed files with 17,851 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data/apache_rocketmq-operator/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: broker-config
data:
# BROKER_MEM sets the broker JVM, if set to "" then Xms = Xmx = max(min(1/2 ram, 1024MB), min(1/4 ram, 8GB))
BROKER_MEM: " -Xms2g -Xmx2g -Xmn1g "
broker-common.conf: |
# brokerClusterName, brokerName, brokerId are automatically generated by the operator and do not set it manually!!!
deleteWhen=04
fileReservedTime=48
flushDiskType=ASYNC_FLUSH
# set brokerRole to ASYNC_MASTER or SYNC_MASTER. DO NOT set to SLAVE because the replica instance will automatically be set!!!
brokerRole=ASYNC_MASTER
Loading

0 comments on commit f2c6b89

Please sign in to comment.