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] LitePullConsumer will Continuously print error logs util receive new msg #8419

Open
3 tasks done
keranbingaa opened this issue Jul 22, 2024 · 0 comments · May be fixed by #8420
Open
3 tasks done

[Bug] LitePullConsumer will Continuously print error logs util receive new msg #8419

keranbingaa opened this issue Jul 22, 2024 · 0 comments · May be fixed by #8420

Comments

@keranbingaa
Copy link
Contributor

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

windows

RocketMQ version

develop branch

JDK Version

jdk8

Describe the Bug

LitePullConsumer will Continuously print error logs like "consumerOffset is -1 in messageQueue" util receive new msg

Steps to Reproduce

just use demo LitePullConsumerSubscribe, and subscribe a topic which has consume group history early

What Did You Expect to See?

no Continuous error msg

What Did You See Instead?

Continuous error msg like:
2024-07-22 09:46:01 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=3]].
2024-07-22 09:46:01 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=2]].
2024-07-22 09:46:01 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=1]].
2024-07-22 09:46:01 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=0]].
2024-07-22 09:46:07 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=3]].
2024-07-22 09:46:07 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=2]].
2024-07-22 09:46:07 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=1]].
2024-07-22 09:46:07 ERROR main - consumerOffset is -1 in messageQueue [MessageQueue [topic=TopicTest, brokerName=broker-a, queueId=0]].

Additional Context

No response

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

Successfully merging a pull request may close this issue.

1 participant