parafiend opened a new pull request, #16220: URL: https://github.com/apache/kafka/pull/16220
Use the lesser of request.timeout.ms and socket.connection.setup.timeout.ms when Sender is performing blocking waits for node readiness. This ensures faster processing of connection setup failures by allowing the NetworkClient to perform a full poll() execution within the expected timeout. When a connection to a broker times out on socket.connection.setup.timeout.ms, log the amount of time spent attempting to connect to the broker in addition to the configured timeout. This helps to discover situations where the timeout is not being correctly respected and clients are waiting longer than configured. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
