GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/1177
KAFKA-3495; `NetworkClient.blockingSendAndReceive` should rely on requestTimeout Also removed the code for handling negative timeouts in `blockingReady` as `Selector.poll` has not supported that for a while. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-3495-blocking-send-and-receive-request-timeout Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1177.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1177 ---- commit 6f215be9cb5a16a6e3149629c0c6ee2d28a9175d Author: Ismael Juma <ism...@juma.me.uk> Date: 2016-04-02T09:57:05Z `NetworkClient.blockingSendAndReceive` should rely on `requestTimeout` Also removed the code for handling negative timeouts in `blockingReady` as `Selector.poll` has not supported that for a while. commit 51fc143c52735d93e6e6bcf2bf920845afb9682b Author: Ismael Juma <ism...@juma.me.uk> Date: 2016-04-02T09:57:23Z Fix typo in `NetworkClient` javadoc ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---