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


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/NetworkClientDelegate.java:
##########
@@ -210,6 +210,30 @@ boolean doSend(final UnsentRequest r, final long 
currentTimeMs) {
         }
         ClientRequest request = makeClientRequest(r, node, currentTimeMs);
         if (!client.ready(node, currentTimeMs)) {
+            AuthenticationException authenticationException = 
client.authenticationException(node);
+
+            // The client may not be ready because it hit an unrecoverable 
authentication error. In that case, there's
+            // no benefit from retrying, so propagate the error here.

Review Comment:
   I've committed a fix for this, but letting it "bake" for a few CI rotations 
before resolving this.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to