Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Apache RocketMQ
Rocketmq
提交
c95a1090
R
Rocketmq
项目概览
Apache RocketMQ
/
Rocketmq
上一次同步 大约 3 年
通知
267
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看板
提交
c95a1090
编写于
7月 31, 2019
作者:
V
vongosling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor polish
上级
0f3b492f
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
3 addition
and
3 deletion
+3
-3
client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java
...ketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java
+1
-1
client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java
.../apache/rocketmq/client/impl/consumer/PullAPIWrapper.java
+1
-1
common/src/main/java/org/apache/rocketmq/common/sysflag/PullSysFlag.java
.../java/org/apache/rocketmq/common/sysflag/PullSysFlag.java
+1
-1
未找到文件。
client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java
浏览文件 @
c95a1090
...
@@ -261,7 +261,7 @@ public class DefaultMQPullConsumerImpl implements MQConsumerInner {
...
@@ -261,7 +261,7 @@ public class DefaultMQPullConsumerImpl implements MQConsumerInner {
null
null
);
);
this
.
pullAPIWrapper
.
processPullResult
(
mq
,
pullResult
,
subscriptionData
);
this
.
pullAPIWrapper
.
processPullResult
(
mq
,
pullResult
,
subscriptionData
);
//If namespace not null , reset Topic without namespace.
//If namespace
is
not null , reset Topic without namespace.
this
.
resetTopic
(
pullResult
.
getMsgFoundList
());
this
.
resetTopic
(
pullResult
.
getMsgFoundList
());
if
(!
this
.
consumeMessageHookList
.
isEmpty
())
{
if
(!
this
.
consumeMessageHookList
.
isEmpty
())
{
ConsumeMessageContext
consumeMessageContext
=
null
;
ConsumeMessageContext
consumeMessageContext
=
null
;
...
...
client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java
浏览文件 @
c95a1090
...
@@ -97,7 +97,7 @@ public class PullAPIWrapper {
...
@@ -97,7 +97,7 @@ public class PullAPIWrapper {
for
(
MessageExt
msg
:
msgListFilterAgain
)
{
for
(
MessageExt
msg
:
msgListFilterAgain
)
{
String
traFlag
=
msg
.
getProperty
(
MessageConst
.
PROPERTY_TRANSACTION_PREPARED
);
String
traFlag
=
msg
.
getProperty
(
MessageConst
.
PROPERTY_TRANSACTION_PREPARED
);
if
(
traFlag
!=
null
&&
Boolean
.
parseBoolean
(
traFlag
))
{
if
(
Boolean
.
parseBoolean
(
traFlag
))
{
msg
.
setTransactionId
(
msg
.
getProperty
(
MessageConst
.
PROPERTY_UNIQ_CLIENT_MESSAGE_ID_KEYIDX
));
msg
.
setTransactionId
(
msg
.
getProperty
(
MessageConst
.
PROPERTY_UNIQ_CLIENT_MESSAGE_ID_KEYIDX
));
}
}
MessageAccessor
.
putProperty
(
msg
,
MessageConst
.
PROPERTY_MIN_OFFSET
,
MessageAccessor
.
putProperty
(
msg
,
MessageConst
.
PROPERTY_MIN_OFFSET
,
...
...
common/src/main/java/org/apache/rocketmq/common/sysflag/PullSysFlag.java
浏览文件 @
c95a1090
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
package
org.apache.rocketmq.common.sysflag
;
package
org.apache.rocketmq.common.sysflag
;
public
class
PullSysFlag
{
public
class
PullSysFlag
{
private
final
static
int
FLAG_COMMIT_OFFSET
=
0x1
<<
0
;
private
final
static
int
FLAG_COMMIT_OFFSET
=
0x1
;
private
final
static
int
FLAG_SUSPEND
=
0x1
<<
1
;
private
final
static
int
FLAG_SUSPEND
=
0x1
<<
1
;
private
final
static
int
FLAG_SUBSCRIPTION
=
0x1
<<
2
;
private
final
static
int
FLAG_SUBSCRIPTION
=
0x1
<<
2
;
private
final
static
int
FLAG_CLASS_FILTER
=
0x1
<<
3
;
private
final
static
int
FLAG_CLASS_FILTER
=
0x1
<<
3
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录