You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've fixed the issue that pop from maxOffset when retryTopic created, but things become a bit more complex when EscapeBridge enabled.
addRetryTopicIfNotExist in current brokerA(probably a slave broker)
enableSlaveActingMaster and enableRemoteEscape both set true
send to remote brokerB
brokerB has no retry for now and thus no retry offset committed
consumer runs in ConsumeInitMode.MAX and one or more judgements in getInitOffset() return false
then we face the same issue as f868d99, that's why we describe it as a corner case.
We'd better fix it in an upper place, getInitOffset(), ignore the initMode and use minOffset, distinguishing between normal and retry topic seems more logical.
Steps to Reproduce
See Above
What Did You Expect to See?
pop retry from minOffset=0
What Did You See Instead?
pop retry from maxOffset
Additional Context
No response
The text was updated successfully, but these errors were encountered:
imzs
added a commit
to imzs/rocketmq
that referenced
this issue
Jul 19, 2024
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
All
RocketMQ version
5.x
JDK Version
All
Describe the Bug
See commit:
f868d99
We've fixed the issue that pop from maxOffset when retryTopic created, but things become a bit more complex when EscapeBridge enabled.
then we face the same issue as f868d99, that's why we describe it as a corner case.
We'd better fix it in an upper place, getInitOffset(), ignore the initMode and use minOffset, distinguishing between normal and retry topic seems more logical.
Steps to Reproduce
See Above
What Did You Expect to See?
pop retry from minOffset=0
What Did You See Instead?
pop retry from maxOffset
Additional Context
No response
The text was updated successfully, but these errors were encountered: