conduktor.io ↗

KIP-148 — Add a connect timeout for client

Discussion Client

Proposes a socket.connection.setup.timeout.ms configuration to time out TCP connection attempts that stall without completing the three-way handshake. When a broker's OS crashed mid-connection, the client's non-blocking connect could stall for minutes until the TCP stack timed out, blocking metadata updates and halting produce/consume.

Details

Authorpengwei
StatusDiscussion
JIRAKAFKA-4862
WikiView on Apache Wiki
Created2017-04-23
Last Modified2017-05-29
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.