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

pull log是如何实现consumer扩所容的?如何保证consumer queue log的offset正确推进? #119

Open
cnkeeper opened this issue Sep 7, 2020 · 1 comment
Assignees

Comments

@cnkeeper
Copy link

cnkeeper commented Sep 7, 2020

问题描述
pull log是如何实现consumer扩所容的?如何保证consumer queue log的offset正确推进?可以简单介绍下吗

环境配置

复现步骤
1.
2.
3.

实际输出结果

期望输出结果

@keliwang
Copy link
Contributor

keliwang commented Sep 7, 2020

consume queue 的推进并不依赖 pull log,而是每个 consumer group 都会维护一个当前的消费进度。每次一个 consumer 来拉取消息,都会从当前消费进度开始分配消息,然后将分配的消息记录到 pull log 中,consumer group 里每个 consumer 的 pull log 都是独立的。

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

2 participants