KIP-19 — Add a request timeout to NetworkClient
Accepted Kafka 1.0 Client
Adds a request.timeout.ms configuration to NetworkClient that fails in-flight requests that have been outstanding longer than the timeout and removes them from the connection. Without a client-side request timeout, a stalled TCP connection could hold pending produce requests indefinitely, blocking KafkaProducer.flush() and close() with no bound.
Details
| Author | Jiangjie Qin |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-2120 |
| Wiki | View on Apache Wiki |
| Created | 2015-04-13 |
| Last Modified | 2015-07-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.