[ https://issues.apache.org/jira/browse/KAFKA-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang resolved KAFKA-2596. ---------------------------------- Resolution: Fixed Fix Version/s: 0.9.0.0 Issue resolved by pull request 267 [https://github.com/apache/kafka/pull/267] > Coordinator should return illegal generation for commits from unknown groups > with non-negative generation > --------------------------------------------------------------------------------------------------------- > > Key: KAFKA-2596 > URL: https://issues.apache.org/jira/browse/KAFKA-2596 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.9.0.0 > Reporter: Jason Gustafson > Assignee: Jason Gustafson > Fix For: 0.9.0.0 > > > Currently the consumer coordinator accepts offset commits blindly if it has > no state stored for the associated groupId. This means that upon coordinator > failover, offset commits from any member of a group will be accepted, even if > that member is from an older generation. A better way of handling this case > would be to return an ILLEGAL_GENERATION error when the generation in the > commit request is greater than or equal to 0. Consumers that are not using > group management will always send a generation of -1, so their commits will > still be accepted as valid. -- This message was sent by Atlassian JIRA (v6.3.4#6332)