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
| Author | pengwei |
| Status | Discussion |
| JIRA | KAFKA-4862 |
| Wiki | View on Apache Wiki |
| Created | 2017-04-23 |
| Last Modified | 2017-05-29 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.