Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Update Process.php #249

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update Process.php #249

wants to merge 2 commits into from

Conversation

php-cpm
Copy link

@php-cpm php-cpm commented Jan 30, 2019

I'm using kafka 1.1.1. somehow, after each consume, its offest remain to be 0, then I found only one offset in messages are 0 or 1, to tell the server I've done my job,I force to commit the biggset offset in the message sets.

我使用的 kafka 1.1.1,很诡异的是提交的 offset 是0,打了日志发现每次拿到消息集合里的消息 offset不是0就是1,这里强制让提交的 offset 按条数增长,试试看能不能解决问题。

somehow, after each consume, its offest remain to be `0`, then I found only one offset in messages are `0` or `1`, to tell the server I've done my job,I force to commit the biggset offset in the message sets.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant