[
https://issues.apache.org/jira/browse/KAFKA-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510415#comment-15510415
]
ASF GitHub Bot commented on KAFKA-4081:
---------------------------------------
GitHub user mimaison reopened a pull request:
https://github.com/apache/kafka/pull/1827
KAFKA-4081: Consumer API consumer new interface commitSync does not v…
…erify the validity of offset
Commit throws InvalidOffsetException if the offset is negative
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mimaison/kafka KAFKA-4081
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1827.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 #1827
----
commit 7ec08416868180422dd6df8e921c9f6027218bfa
Author: Mickael Maison <[email protected]>
Date: 2016-09-19T17:22:34Z
KAFKA-4081: Consumer API consumer new interface commitSync does not verify
the validity of offset
Commit will now fail with an IllegalArgumentException when trying to commit
an offset that is either negative or larger than the consumer's current position
commit e1c1674b8f661e4063e4d5bc04a86ad069a3f317
Author: Edoardo Comar <[email protected]>
Date: 2016-09-21T16:14:36Z
KAFKA-4081: Consumer API consumer new interface commitSync does not
verify the validity of offset
Commit will now fail with an IllegalArgumentException when trying to
commit an offset that is either negative or larger than the consumer's
current position
----
> Consumer API consumer new interface commitSyn does not verify the validity of
> offset
> ------------------------------------------------------------------------------------
>
> Key: KAFKA-4081
> URL: https://issues.apache.org/jira/browse/KAFKA-4081
> Project: Kafka
> Issue Type: Bug
> Components: clients
> Affects Versions: 0.9.0.1
> Reporter: lifeng
> Assignee: Mickael Maison
>
> Consumer API consumer new interface commitSyn synchronization update offset,
> for the illegal offset successful return, illegal offset<0 or offset>hw
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)