diff --git a/src/main/resources/application-default.yml b/src/main/resources/application-default.yml new file mode 100644 index 00000000..9496abda --- /dev/null +++ b/src/main/resources/application-default.yml @@ -0,0 +1,74 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +server: + port: 8080 + servlet: + encoding: + charset: UTF-8 + enabled: true + force: true +## SSL setting +# ssl: +# key-store: classpath:rmqcngkeystore.jks +# key-store-password: rocketmq +# key-store-type: PKCS12 +# key-alias: rmqcngkey + +spring: + application: + name: rocketmq-dashboard + +logging: + config: classpath:logback-default.xml + +rocketmq: + config: + # if this value is empty,use env value rocketmq.config.namesrvAddr NAMESRV_ADDR | now, default localhost:9876 + # configure multiple namesrv addresses to manage multiple different clusters + namesrvAddrs: + - 127.0.0.1:9876 + # - 127.0.0.2:9876 + # - 10.151.47.32:9876;10.151.47.33:9876;10.151.47.34:9876 + # - 10.151.47.30:9876 + # if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true + isVIPChannel: + # timeout for mqadminExt, default 5000ms + timeoutMillis: + # rocketmq-console's data path:dashboard/monitor + dataPath: /tmp/rocketmq-console/data + # set it false if you don't want use dashboard.default true + enableDashBoardCollect: true + # set the message track trace topic if you don't want use the default one + msgTrackTopicName: + ticketKey: ticket + # must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required + loginRequired: false + useTLS: false + proxyAddr: 127.0.0.1:8080 + proxyAddrs: + - 127.0.0.1:8080 + # set the accessKey and secretKey if you used acl +# accessKey: rocketmq2 +# secretKey: 12345678 + +threadpool: + config: + coreSize: 10 + maxSize: 10 + keepAliveTime: 3000 + queueSize: 5000 \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index fe4d283f..0a2db8f3 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -15,60 +15,6 @@ # limitations under the License. # -server: - port: 8080 - servlet: - encoding: - charset: UTF-8 - enabled: true - force: true -## SSL setting -# ssl: -# key-store: classpath:rmqcngkeystore.jks -# key-store-password: rocketmq -# key-store-type: PKCS12 -# key-alias: rmqcngkey - spring: - application: - name: rocketmq-dashboard - -logging: - config: classpath:logback.xml - -rocketmq: - config: - # if this value is empty,use env value rocketmq.config.namesrvAddr NAMESRV_ADDR | now, default localhost:9876 - # configure multiple namesrv addresses to manage multiple different clusters - namesrvAddrs: - - 127.0.0.1:9876 - # - 127.0.0.2:9876 - # - 10.151.47.32:9876;10.151.47.33:9876;10.151.47.34:9876 - # - 10.151.47.30:9876 - # if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true - isVIPChannel: - # timeout for mqadminExt, default 5000ms - timeoutMillis: - # rocketmq-console's data path:dashboard/monitor - dataPath: /tmp/rocketmq-console/data - # set it false if you don't want use dashboard.default true - enableDashBoardCollect: true - # set the message track trace topic if you don't want use the default one - msgTrackTopicName: - ticketKey: ticket - # must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required - loginRequired: false - useTLS: false - proxyAddr: 127.0.0.1:8080 - proxyAddrs: - - 127.0.0.1:8080 - # set the accessKey and secretKey if you used acl -# accessKey: rocketmq2 -# secretKey: 12345678 - -threadpool: - config: - coreSize: 10 - maxSize: 10 - keepAliveTime: 3000 - queueSize: 5000 \ No newline at end of file + profiles: + active: default \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback-default.xml similarity index 100% rename from src/main/resources/logback.xml rename to src/main/resources/logback-default.xml