kirktrue commented on code in PR #14406:
URL: https://github.com/apache/kafka/pull/14406#discussion_r1348029408


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractFetch.java:
##########
@@ -92,6 +88,23 @@ public AbstractFetch(final LogContext logContext,
         this.time = time;
     }
 
+    /**
+     * Check if the node is disconnected and unavailable for immediate 
reconnection (i.e. if it is in
+     * reconnect backoff window following the disconnect).
+     *
+     * @param node {@link Node} to check for availability
+     * @see NetworkClientUtils#isUnavailable(KafkaClient, Node, Time)
+     */
+    protected abstract boolean isUnavailable(Node node);

Review Comment:
   I have filed KAFKA-15556 (_Remove NetworkClientDelegate methods 
isUnavailable, maybeThrowAuthFailure, and tryConnect_) to address this issue 
since it's affecting other `RequestManager` implementations.



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

Reply via email to