-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port rocketmq-operator config (#365)
- Loading branch information
1 parent
e6afe8a
commit f2c6b89
Showing
6 changed files
with
17,851 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.