philipnee commented on code in PR #14406: URL: https://github.com/apache/kafka/pull/14406#discussion_r1338973379
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractFetch.java: ########## @@ -330,7 +343,7 @@ private Map<Node, FetchSessionHandler.FetchRequestData> prepareCloseFetchSession // skip sending the close request. final Node fetchTarget = cluster.nodeById(fetchTargetNodeId); - if (fetchTarget == null || client.isUnavailable(fetchTarget)) { + if (fetchTarget == null || isUnavailable(fetchTarget)) { Review Comment: Per previous comment - if we actually clean up the code, we should only care if there's a fetchTarget or not. -- 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