You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2015/06/04 23:47:38 UTC

[jira] [Commented] (KAFKA-2120) Add a request timeout to NetworkClient

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

Jason Gustafson commented on KAFKA-2120:
----------------------------------------

The new consumer will also be able to take advantage of a request timeout in NetworkClient. Currently the consumer just blocks indefinitely on some requests, but we will probably need a timeout to resolve KAFKA-1894.

> Add a request timeout to NetworkClient
> --------------------------------------
>
>                 Key: KAFKA-2120
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2120
>             Project: Kafka
>          Issue Type: New Feature
>            Reporter: Jiangjie Qin
>            Assignee: Mayuresh Gharat
>
> Currently NetworkClient does not have a timeout setting for requests. So if no response is received for a request due to reasons such as broker is down, the request will never be completed.
> Request timeout will also be used as implicit timeout for some methods such as KafkaProducer.flush() and kafkaProducer.close().
> KIP-19 is created for this public interface change.
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-19+-+Add+a+request+timeout+to+NetworkClient



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