[ https://issues.apache.org/jira/browse/KAFKA-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15752780#comment-15752780 ]
Rajini Sivaram commented on KAFKA-3540: --------------------------------------- I have opened [KIP-102|https://cwiki.apache.org/confluence/display/KAFKA/KIP-102+-+Add+close+with+timeout+for+consumers] to add a close method to Consumer with timeout similar to Producer. > KafkaConsumer.close() may block indefinitely > -------------------------------------------- > > Key: KAFKA-3540 > URL: https://issues.apache.org/jira/browse/KAFKA-3540 > Project: Kafka > Issue Type: Bug > Reporter: Oleg Zhurakousky > Assignee: Manikumar Reddy > > KafkaConsumer API doc states > {code} > Close the consumer, waiting indefinitely for any needed cleanup. . . . > {code} > That is not acceptable as it creates an artificial deadlock which directly > affects systems that rely on Kafka API essentially rendering them unavailable. > Consider adding _close(timeout)_ method -- This message was sent by Atlassian JIRA (v6.3.4#6332)