kafka-php icon indicating copy to clipboard operation
kafka-php copied to clipboard

Update Process.php

Open php-cpm opened this issue 7 years ago • 0 comments

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 按条数增长,试试看能不能解决问题。

php-cpm avatar Jan 30 '19 05:01 php-cpm