You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Gwen Shapira (JIRA)" <ji...@apache.org> on 2015/09/01 23:32:48 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwen Shapira updated KAFKA-2120:
--------------------------------
    Fix Version/s:     (was: 0.8.3)

> 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
>         Attachments: KAFKA-2120.patch, KAFKA-2120_2015-07-27_15:31:19.patch, KAFKA-2120_2015-07-29_15:57:02.patch, KAFKA-2120_2015-08-10_19:55:18.patch, KAFKA-2120_2015-08-12_10:59:09.patch
>
>
> 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)