Because the client calls `connect` which then hands off to NIO the asynchronous 
connection 
and it's in handling the keys that we can see if one IP was "bad" and all this 
without the client being involved at all.

It may be not the smallest change possible because of the footprint in the 
tests, but to us this was the change that seemed to make sense.

We are biased by the fact that the existing `Selectable.connect` signature 
wasn't great also for KIP-81 

[ Full content available at: https://github.com/apache/kafka/pull/4987 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to