[ https://issues.apache.org/jira/browse/KAFKA-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534483#comment-15534483 ]
Jason Gustafson commented on KAFKA-4234: ---------------------------------------- [~vahid] Does this make sense to you? > Consumer should not commit offsets in unsubscribe() > --------------------------------------------------- > > Key: KAFKA-4234 > URL: https://issues.apache.org/jira/browse/KAFKA-4234 > Project: Kafka > Issue Type: Bug > Components: consumer > Reporter: Jason Gustafson > Fix For: 0.10.1.0 > > > In KIP-70, we changed the behavior of {{unsubscribe}} to commit offsets if > autocommit is enabled. Unfortunately, because of the issue documented in > KAFKA-3491, this makes it impossible to abort processing if an exception is > thrown while processing some records. Until we have a fix for this problem, > we should probably revert this behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332)