GitHub user leonhong opened a pull request: https://github.com/apache/kafka/pull/4290
Auto-commit of offsets fail, and not recover forever... * Auto-commit of offsets fail, and not recover **forever**. at sendOffsetCommitRequest, while "generation equal NULL", ConsumerCoordinator request will fail always. it maybe a bug. error log below: has more and more warn log .... "2017-12-01 22:08:39.112 WARN pool-390-thread-1#1 (ConsumerCoordinator.java:626) - Auto-commit of offsets {drawing_gift_sent-1=OffsetAndMetadata{offset=32150359, metadata=''}} failed for group gift_rich_audience_write: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records." You can merge this pull request into a Git repository by running: $ git pull https://github.com/leonhong/kafka Auto-commit-fail-bugs Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4290.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4290 ---- commit bd27b5ba84433a29d6e28e0eeb7489378c0643b9 Author: hongliang <hongliang@hongliangdemacbook-pro.local> Date: 2017-12-04T08:50:31Z Auto-commit of offsets fail, and not recover forever... ---- ---