GitHub user wyzssw opened a pull request:
https://github.com/apache/kafka/pull/207
support commit offset after consumed
Kafka Of Original Version do not support "commit offset after
consuming",when kafka.consumer.ConsumerIterator[K, V].next() return a
MessageAndMetadata,which consumed offset is already being set,and commit thread
maybe commit this offset before "consuming process finished",when jvm restart
or being downï¼this msg will not be consumed next time
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wyzssw/kafka 0.8.2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/207.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 #207
----
commit 642f0fd3755830b4d2fdeb38bfa689676d13e7a5
Author: wanghongfeng <[email protected]>
Date: 2015-09-11T13:38:32Z
support commit offset after consumed
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---