hachikuji commented on a change in pull request #11449: URL: https://github.com/apache/kafka/pull/11449#discussion_r745061966
########## File path: clients/src/main/java/org/apache/kafka/clients/NetworkClient.java ########## @@ -319,23 +319,29 @@ public void disconnect(String nodeId) { if (connectionStates.isDisconnected(nodeId)) return; + log.info("Client requested disconnect from node {} (invoking callbacks for in-flight requests)", nodeId); Review comment: I think it is useful to cover both cases (as well as any future cases). Let me consider adding a disconnect reason. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org