Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
KnowledgePlanet
road-map
xfg-dev-tech-rocketmq
提交
3b0a7f93
xfg-dev-tech-rocketmq
项目概览
KnowledgePlanet
/
road-map
/
xfg-dev-tech-rocketmq
通知
252
Star
26
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
xfg-dev-tech-rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
3b0a7f93
编写于
7月 29, 2023
作者:
小傅哥
⛹
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小傅哥,feat:配置信息
上级
9378eb71
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
137 addition
and
0 deletion
+137
-0
docs/rocketmq/data/console/config/application.properties
docs/rocketmq/data/console/config/application.properties
+54
-0
docs/rocketmq/data/console/config/config
docs/rocketmq/data/console/config/config
+1
-0
docs/rocketmq/data/console/config/logback.xml
docs/rocketmq/data/console/config/logback.xml
+49
-0
docs/rocketmq/data/rocketmq/conf/broker.conf
docs/rocketmq/data/rocketmq/conf/broker.conf
+33
-0
未找到文件。
docs/rocketmq/data/console/config/application.properties
0 → 100644
浏览文件 @
3b0a7f93
#
# 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.address
=
0.0.0.0
server.port
=
9009
### SSL setting
#server.ssl.key-store=classpath:rmqcngkeystore.jks
#server.ssl.key-store-password=rocketmq
#server.ssl.keyStoreType=PKCS12
#server.ssl.keyAlias=rmqcngkey
#spring.application.index=true
spring.application.name
=
rocketmq-dashboard
spring.http.encoding.charset
=
UTF-8
spring.http.encoding.enabled
=
true
spring.http.encoding.force
=
true
logging.level.root
=
INFO
logging.config
=
./config/logback.xml
#if this value is empty,use env value rocketmq.config.namesrvAddr NAMESRV_ADDR | now, you can set it in ops page.default localhost:9876
rocketmq.config.namesrvAddr
=
#if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true
rocketmq.config.isVIPChannel
=
#timeout for mqadminExt, default 5000ms
rocketmq.config.timeoutMillis
=
#rocketmq-console's data path:dashboard/monitor
rocketmq.config.dataPath
=
./store
#set it false if you don't want use dashboard.default true
rocketmq.config.enableDashBoardCollect
=
true
#set the message track trace topic if you don't want use the default one
rocketmq.config.msgTrackTopicName
=
rocketmq.config.ticketKey
=
ticket
#Must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required
rocketmq.config.loginRequired
=
true
#set the accessKey and secretKey if you used acl
#rocketmq.config.accessKey=
#rocketmq.config.secretKey=
rocketmq.config.useTLS
=
false
docs/rocketmq/data/console/config/config
0 → 120000
浏览文件 @
3b0a7f93
/home/app/data/console/config
\ No newline at end of file
docs/rocketmq/data/console/config/logback.xml
0 → 100644
浏览文件 @
3b0a7f93
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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.
-->
<configuration>
<appender
name=
"STDOUT"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder
charset=
"UTF-8"
>
<pattern>
[%d{yyyy-MM-dd HH:mm:ss.SSS}] %5p %m%n
</pattern>
</encoder>
</appender>
<appender
name=
"FILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
${user.home}${file.separator}data${file.separator}logs${file.separator}consolelogs${file.separator}rocketmq-console.log
</file>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
${user.home}${file.separator}data${file.separator}logs${file.separator}consolelogs${file.separator}rocketmq-console-%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"
>
<maxFileSize>
104857600
</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<MaxHistory>
10
</MaxHistory>
</rollingPolicy>
<encoder>
<pattern>
[%d{yyyy-MM-dd HH:mm:ss.SSS}] %5p %m%n
</pattern>
<charset
class=
"java.nio.charset.Charset"
>
UTF-8
</charset>
</encoder>
</appender>
<root
level=
"INFO"
>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"FILE"
/>
</root>
</configuration>
\ No newline at end of file
docs/rocketmq/data/rocketmq/conf/broker.conf
0 → 100644
浏览文件 @
3b0a7f93
# 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.
# 集群名称
brokerClusterName
=
DefaultCluster
# BROKER 名称
brokerName
=
broker
-
a
# 0 表示 Master, > 0 表示 Slave
brokerId
=
0
# 删除文件时间点,默认凌晨 4 点
deleteWhen
=
04
# 文件保留时间,默认 48 小时
fileReservedTime
=
48
# BROKER 角色 ASYNC_MASTER为异步主节点,SYNC_MASTER为同步主节点,SLAVE为从节点
brokerRole
=
ASYNC_MASTER
# 刷新数据到磁盘的方式,ASYNC_FLUSH 刷新
flushDiskType
=
ASYNC_FLUSH
# 存储路径
storePathRootDir
= /
home
/
app
/
data
/
rocketmq
/
store
# IP地址
brokerIP1
=
127
.
0
.
0
.
1
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录