[
https://issues.apache.org/jira/browse/KAFKA-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499093#comment-14499093
]
Ewen Cheslack-Postava commented on KAFKA-2120:
----------------------------------------------
[~sureshms] They're related, but not the same thing. This JIRA is about the
network requests made by the NetworkClient class, and is really about an
internal implementation detail - we want to make sure the request times out so
the client can make progress, even if it's never going to get a response.
KAFKA-1788 is about timeouts for producer.send() calls which can never even
make a network request because they can't make a connection to the broker. It's
a user-facing issue.
See the mailing list discussion thread linked in the KIP for more details.
> 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)