Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Apache RocketMQ
Rocketmq
提交
4506f34e
R
Rocketmq
项目概览
Apache RocketMQ
/
Rocketmq
上一次同步 大约 3 年
通知
268
Star
16139
Fork
68
代码
文件
提交
分支
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看板
提交
4506f34e
编写于
11月 01, 2021
作者:
R
RongtongJin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Resolve some conflicts in the merge that prevent compilation from succeeding
上级
f1b0318d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
24 addition
and
23 deletion
+24
-23
client/pom.xml
client/pom.xml
+0
-13
common/src/main/java/org/apache/rocketmq/common/MQVersion.java
...n/src/main/java/org/apache/rocketmq/common/MQVersion.java
+3
-0
tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExt.java
...va/org/apache/rocketmq/tools/admin/DefaultMQAdminExt.java
+21
-9
tools/src/main/java/org/apache/rocketmq/tools/command/MQAdminStartup.java
...ava/org/apache/rocketmq/tools/command/MQAdminStartup.java
+0
-1
未找到文件。
client/pom.xml
浏览文件 @
4506f34e
...
...
@@ -27,19 +27,6 @@
<artifactId>
rocketmq-client
</artifactId>
<name>
rocketmq-client ${project.version}
</name>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
6
</source>
<target>
6
</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>
${project.groupId}
</groupId>
...
...
common/src/main/java/org/apache/rocketmq/common/MQVersion.java
浏览文件 @
4506f34e
...
...
@@ -640,6 +640,9 @@ public class MQVersion {
V4_9_9_SNAPSHOT
,
V4_9_9
,
V5_0_0_PREVIEW_SNAPSHOT
,
V5_0_0_PREVIEW
,
V5_0_0_SNAPSHOT
,
V5_0_0
,
...
...
tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExt.java
浏览文件 @
4506f34e
...
...
@@ -33,6 +33,7 @@ import org.apache.rocketmq.common.admin.RollbackStats;
import
org.apache.rocketmq.common.admin.TopicStatsTable
;
import
org.apache.rocketmq.common.message.MessageExt
;
import
org.apache.rocketmq.common.message.MessageQueue
;
import
org.apache.rocketmq.common.message.MessageRequestMode
;
import
org.apache.rocketmq.common.protocol.body.BrokerStatsData
;
import
org.apache.rocketmq.common.protocol.body.ClusterAclVersionInfo
;
import
org.apache.rocketmq.common.protocol.body.ClusterInfo
;
...
...
@@ -42,12 +43,16 @@ import org.apache.rocketmq.common.protocol.body.ConsumerConnection;
import
org.apache.rocketmq.common.protocol.body.ConsumerRunningInfo
;
import
org.apache.rocketmq.common.protocol.body.GroupList
;
import
org.apache.rocketmq.common.protocol.body.KVTable
;
import
org.apache.rocketmq.common.protocol.body.MigrateLogicalQueueBody
;
import
org.apache.rocketmq.common.protocol.body.ProducerConnection
;
import
org.apache.rocketmq.common.protocol.body.QueryConsumeQueueResponseBody
;
import
org.apache.rocketmq.common.protocol.body.QueueTimeSpan
;
import
org.apache.rocketmq.common.protocol.body.SubscriptionGroupWrapper
;
import
org.apache.rocketmq.common.protocol.body.TopicConfigSerializeWrapper
;
import
org.apache.rocketmq.common.protocol.body.TopicList
;
import
org.apache.rocketmq.common.protocol.route.LogicalQueueRouteData
;
import
org.apache.rocketmq.common.protocol.route.LogicalQueuesInfo
;
import
org.apache.rocketmq.common.protocol.route.MessageQueueRouteState
;
import
org.apache.rocketmq.common.protocol.route.TopicRouteData
;
import
org.apache.rocketmq.common.subscription.SubscriptionGroupConfig
;
import
org.apache.rocketmq.common.topic.TopicValidator
;
...
...
@@ -291,7 +296,8 @@ public class DefaultMQAdminExt extends ClientConfig implements MQAdminExt {
}
@Override
public
int
addWritePermOfBroker
(
String
namesrvAddr
,
String
brokerName
)
throws
RemotingCommandException
,
RemotingConnectException
,
RemotingSendRequestException
,
RemotingTimeoutException
,
InterruptedException
,
MQClientException
{
public
int
addWritePermOfBroker
(
String
namesrvAddr
,
String
brokerName
)
throws
RemotingCommandException
,
RemotingConnectException
,
RemotingSendRequestException
,
RemotingTimeoutException
,
InterruptedException
,
MQClientException
{
return
defaultMQAdminExtImpl
.
addWritePermOfBroker
(
namesrvAddr
,
brokerName
);
}
...
...
@@ -592,40 +598,46 @@ public class DefaultMQAdminExt extends ClientConfig implements MQAdminExt {
}
@Override
public
void
setMessageRequestMode
(
final
String
brokerAddr
,
final
String
topic
,
final
String
consumerGroup
,
final
MessageRequestMode
mode
,
final
int
popShareQueueNum
,
final
long
timeoutMillis
)
public
void
setMessageRequestMode
(
final
String
brokerAddr
,
final
String
topic
,
final
String
consumerGroup
,
final
MessageRequestMode
mode
,
final
int
popShareQueueNum
,
final
long
timeoutMillis
)
throws
InterruptedException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
,
MQClientException
{
this
.
defaultMQAdminExtImpl
.
setMessageRequestMode
(
brokerAddr
,
topic
,
consumerGroup
,
mode
,
popShareQueueNum
,
timeoutMillis
);
}
@Override
public
void
updateTopicLogicalQueueMapping
(
String
brokerAddr
,
String
topic
,
int
queueId
,
int
logicalQueueIndex
)
throws
InterruptedException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
,
MQBrokerException
{
public
void
updateTopicLogicalQueueMapping
(
String
brokerAddr
,
String
topic
,
int
queueId
,
int
logicalQueueIndex
)
throws
InterruptedException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
,
MQBrokerException
{
this
.
defaultMQAdminExtImpl
.
updateTopicLogicalQueueMapping
(
brokerAddr
,
topic
,
queueId
,
logicalQueueIndex
);
}
@Override
public
LogicalQueuesInfo
queryTopicLogicalQueueMapping
(
String
brokerAddr
,
String
topic
)
throws
InterruptedException
,
RemotingConnectException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
MQBrokerException
{
public
LogicalQueuesInfo
queryTopicLogicalQueueMapping
(
String
brokerAddr
,
String
topic
)
throws
InterruptedException
,
RemotingConnectException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
MQBrokerException
{
return
this
.
defaultMQAdminExtImpl
.
queryTopicLogicalQueueMapping
(
brokerAddr
,
topic
);
}
@Override
public
void
deleteTopicLogicalQueueMapping
(
String
brokerAddr
,
String
topic
)
throws
InterruptedException
,
MQBrokerException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
{
public
void
deleteTopicLogicalQueueMapping
(
String
brokerAddr
,
String
topic
)
throws
InterruptedException
,
MQBrokerException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
{
this
.
defaultMQAdminExtImpl
.
deleteTopicLogicalQueueMapping
(
brokerAddr
,
topic
);
}
@Override
public
LogicalQueueRouteData
sealTopicLogicalQueue
(
String
brokerAddr
,
LogicalQueueRouteData
queueRouteData
)
throws
InterruptedException
,
RemotingConnectException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
MQBrokerException
{
public
LogicalQueueRouteData
sealTopicLogicalQueue
(
String
brokerAddr
,
LogicalQueueRouteData
queueRouteData
)
throws
InterruptedException
,
RemotingConnectException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
MQBrokerException
{
return
this
.
defaultMQAdminExtImpl
.
sealTopicLogicalQueue
(
brokerAddr
,
queueRouteData
);
}
@Override
public
LogicalQueueRouteData
reuseTopicLogicalQueue
(
String
brokerAddr
,
String
topic
,
int
queueId
,
int
logicalQueueIdx
,
MessageQueueRouteState
messageQueueRouteState
)
throws
InterruptedException
,
MQBrokerException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
{
int
logicalQueueIdx
,
MessageQueueRouteState
messageQueueRouteState
)
throws
InterruptedException
,
MQBrokerException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
{
return
this
.
defaultMQAdminExtImpl
.
reuseTopicLogicalQueue
(
brokerAddr
,
topic
,
queueId
,
logicalQueueIdx
,
messageQueueRouteState
);
}
@Override
public
LogicalQueueRouteData
createMessageQueueForLogicalQueue
(
String
brokerAddr
,
String
topic
,
int
logicalQueueIdx
,
MessageQueueRouteState
messageQueueStatus
)
throws
InterruptedException
,
MQBrokerException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
{
int
logicalQueueIdx
,
MessageQueueRouteState
messageQueueStatus
)
throws
InterruptedException
,
MQBrokerException
,
RemotingTimeoutException
,
RemotingSendRequestException
,
RemotingConnectException
{
return
this
.
defaultMQAdminExtImpl
.
createMessageQueueForLogicalQueue
(
brokerAddr
,
topic
,
logicalQueueIdx
,
messageQueueStatus
);
}
...
...
tools/src/main/java/org/apache/rocketmq/tools/command/MQAdminStartup.java
浏览文件 @
4506f34e
...
...
@@ -50,7 +50,6 @@ import org.apache.rocketmq.tools.command.consumer.ConsumerProgressSubCommand;
import
org.apache.rocketmq.tools.command.consumer.ConsumerStatusSubCommand
;
import
org.apache.rocketmq.tools.command.consumer.DeleteSubscriptionGroupCommand
;
import
org.apache.rocketmq.tools.command.consumer.GetConsumerConfigSubCommand
;
import
org.apache.rocketmq.tools.command.consumer.SetConsumeModeSubCommand
;
import
org.apache.rocketmq.tools.command.consumer.StartMonitoringSubCommand
;
import
org.apache.rocketmq.tools.command.consumer.UpdateSubGroupSubCommand
;
import
org.apache.rocketmq.tools.command.logicalqueue.DeleteTopicLogicalQueueMappingCommand
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录