You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/02/04 23:46:25 UTC

[GitHub] [kafka] bob-barrett commented on pull request #10061: KAFKA-12193: Re-resolve IPs after a client disconnects

bob-barrett commented on pull request #10061:
URL: https://github.com/apache/kafka/pull/10061#issuecomment-773678032


   @dajac This is the backport of https://github.com/apache/kafka/commit/131d4753cfed65ed6dee0a8c754765c97c3d513f. The conflicts were because the connection timeout settings added by [KIP-601](https://cwiki.apache.org/confluence/display/KAFKA/KIP-601%3A+Configurable+socket+connection+timeout+in+NetworkClient) aren't present in 2.6. This didn't change the behavior of this patch, but it did require a slight change in `NetworkClientTest#testFailedConnectionToFirstAddress` to simulate a failed connection, since sleeping for the connection timeout wasn't an option.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org