You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/12 00:14:17 UTC

[jira] [Commented] (KAFKA-4426) Add consumer.close(timeout, unit) for graceful close with timeout

    [ https://issues.apache.org/jira/browse/KAFKA-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819632#comment-15819632 ] 

ASF GitHub Bot commented on KAFKA-4426:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2285


> Add consumer.close(timeout, unit) for graceful close with timeout
> -----------------------------------------------------------------
>
>                 Key: KAFKA-4426
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4426
>             Project: Kafka
>          Issue Type: Improvement
>          Components: consumer
>    Affects Versions: 0.10.1.0
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>             Fix For: 0.10.2.0
>
>
> KAFKA-3703 implements graceful close of consumers with a hard-coded timeout of 5 seconds. For consistency with the producer, add a close method with configurable timeout for Consumer.
> {quote}
> public void close(long timeout, TimeUnit unit);
> {quote}
> Since this is a public interface change, this change requires a KIP.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)