Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The tool command 'resetOffsetByTime' can't make any effect in rocketmq 5.x #9038

Open
3 tasks done
Yelijah opened this issue Dec 9, 2024 · 1 comment
Open
3 tasks done

Comments

@Yelijah
Copy link

Yelijah commented Dec 9, 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

OS: CentOS Linux release 7.6.1810 (Core)
Docker version 20.10.24

RocketMQ version

5.1.4 standalone with enable-proxy

JDK Version

openjdk8

Describe the Bug

The tool command 'resetOffsetByTime' returns with success info。But it makes no effect and my consumer can still get all old msg.
By the way , I use the new grpc client.
image

Steps to Reproduce

just like the description

What Did You Expect to See?

The consumer offset can be reset after the the tool command.

What Did You See Instead?

The conusmer offset can't be reset

Additional Context

No response

@Yelijah
Copy link
Author

Yelijah commented Dec 10, 2024

I know how to fix it now.
As the pr 7581 says, I have to set broker config useServerSideResetOffset=true or upgrade the rmq version to 5.2.0+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant