[ https://issues.apache.org/jira/browse/KAFKA-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988271#comment-14988271 ]
Jason Gustafson commented on KAFKA-2697: ---------------------------------------- [~onurkaraman] I was thinking something with naive error handling like this could work: https://github.com/hachikuji/kafka/commit/c064110b5792dca583190e54d0fa90ae0d245954. The only question as you mentioned before is whether KafkaConsumer should have a close(timeout) method like KafkaProducer does. If you don't have time for this, I can probably try to polish up this patch. It would be a pity if we couldn't get this into the release after finally getting the server-side code in. > add leave group logic to the consumer > ------------------------------------- > > Key: KAFKA-2697 > URL: https://issues.apache.org/jira/browse/KAFKA-2697 > Project: Kafka > Issue Type: Sub-task > Components: consumer > Reporter: Onur Karaman > Assignee: Onur Karaman > Fix For: 0.9.0.0 > > > KAFKA-2397 added logic on the coordinator to handle LeaveGroupRequests. We > need to add logic to KafkaConsumer to send out a LeaveGroupRequest on close. -- This message was sent by Atlassian JIRA (v6.3.4#6332)