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

[ISSUE #481]Fixed the issue that reset location cannot be consumed immediately #482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

humkum
Copy link
Contributor

@humkum humkum commented Dec 4, 2024

fix #481

Root cause of the problem:

  1. The consumer would set all exist pull request as dropped and do rebalance after change the local offset and the broker's consumption offset.
    image
  2. But the pull request was not removed from the cache in RebalanceImp.cpp
  3. When doRebalance immediately after reset offset success, the new pull request can not assign to target message queues, which should be consumed by the client.

image

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 this pull request may close these issues.

[Bug] Reset consume offset then the consumer cannot continue consume immediately
1 participant