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] [connector]][rocketmq] rocketmq如果offset模式中,offset传入-1报错 #1836

Open
2 of 3 tasks
Wslibin opened this issue Oct 16, 2023 · 1 comment
Open
2 of 3 tasks
Labels
bug Something isn't working

Comments

@Wslibin
Copy link

Wslibin commented Oct 16, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

rocketmq如果offset模式中,offset传入-1报错,通过代码查看offset赋值有问题

What you expected to happen

--

How to reproduce

--

Anything else

No response

Version

master

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Wslibin Wslibin added the bug Something isn't working label Oct 16, 2023
@Wslibin
Copy link
Author

Wslibin commented Oct 16, 2023

case OFFSET:
offset =
rocketMQConf.getStartMessageOffset() < 0
? offset
: rocketMQConf.getStartMessageOffset();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant