Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
檀越@新空间
Rocketmq
提交
9095990c
R
Rocketmq
项目概览
檀越@新空间
/
Rocketmq
与 Fork 源项目一致
Fork自
Apache RocketMQ / Rocketmq
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
9095990c
编写于
1月 29, 2019
作者:
D
duhenglucky
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change flow_control config name
上级
b9bc8578
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
2 deletion
+12
-2
common/src/main/java/org/apache/rocketmq/common/flowcontrol/FlowControlConfig.java
...apache/rocketmq/common/flowcontrol/FlowControlConfig.java
+1
-1
distribution/conf/flow_control.yml
distribution/conf/flow_control.yml
+0
-0
distribution/pom.xml
distribution/pom.xml
+4
-0
distribution/release.xml
distribution/release.xml
+1
-0
pom.xml
pom.xml
+5
-0
snode/src/test/java/org/apache/rocketmq/snode/SnodeControllerTest.java
...t/java/org/apache/rocketmq/snode/SnodeControllerTest.java
+1
-1
未找到文件。
common/src/main/java/org/apache/rocketmq/common/flowcontrol/FlowControlConfig.java
浏览文件 @
9095990c
...
...
@@ -38,7 +38,7 @@ public class FlowControlConfig {
private
String
flowControlFileHome
=
System
.
getProperty
(
MixAll
.
ROCKETMQ_HOME_PROPERTY
,
System
.
getenv
(
MixAll
.
ROCKETMQ_HOME_ENV
));
private
static
final
String
DEFAULT_FLOW_CONTROL_FILE
=
"conf/flow
C
ontrol.yml"
;
private
static
final
String
DEFAULT_FLOW_CONTROL_FILE
=
"conf/flow
_c
ontrol.yml"
;
private
String
flowControlFileName
=
System
.
getProperty
(
"rocketmq.flow.control.file"
,
DEFAULT_FLOW_CONTROL_FILE
);
...
...
distribution/conf/flow
C
ontrol.yml
→
distribution/conf/flow
_c
ontrol.yml
浏览文件 @
9095990c
文件已移动
distribution/pom.xml
浏览文件 @
9095990c
...
...
@@ -46,6 +46,10 @@
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-example
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-snode
</artifactId>
</dependency>
</dependencies>
<build>
...
...
distribution/release.xml
浏览文件 @
9095990c
...
...
@@ -67,6 +67,7 @@
<include>
org.apache.rocketmq:rocketmq-namesrv
</include>
<include>
org.apache.rocketmq:rocketmq-example
</include>
<include>
org.apache.rocketmq:rocketmq-openmessaging
</include>
<include>
org.apache.rocketmq:rocketmq-snode
</include>
</includes>
<binaries>
<outputDirectory>
lib/
</outputDirectory>
...
...
pom.xml
浏览文件 @
9095990c
...
...
@@ -530,6 +530,11 @@
<artifactId>
rocketmq-acl
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
${project.groupId}
</groupId>
<artifactId>
rocketmq-snode
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
...
...
snode/src/test/java/org/apache/rocketmq/snode/SnodeControllerTest.java
浏览文件 @
9095990c
...
...
@@ -41,7 +41,7 @@ public class SnodeControllerTest {
@Test
public
void
testSnodeRestartWithAclEnable
()
{
System
.
setProperty
(
"rocketmq.home.dir"
,
"src/test/resources"
);
System
.
setProperty
(
"rocketmq.
flow.control.file"
,
"/conf/flowContro
l.yml"
);
System
.
setProperty
(
"rocketmq.
acl.plain.file"
,
"/conf/plain_ac
l.yml"
);
SnodeConfig
snodeConfig
=
new
SnodeConfig
();
snodeConfig
.
setAclEnable
(
true
);
SnodeController
snodeController
=
new
SnodeController
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录