conduktor.io ↗

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

AuthorJiangjie Qin
StatusAccepted
Kafka Version1.0
JIRAKAFKA-2120
WikiView on Apache Wiki
Created2015-04-13
Last Modified2015-07-21
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.