ijuma commented on code in PR #12228:
URL: https://github.com/apache/kafka/pull/12228#discussion_r944877032


##########
clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslClientAuthenticator.java:
##########
@@ -342,6 +342,7 @@ public void reauthenticate(ReauthenticationContext 
reauthenticationContext) thro
         
reauthInfo.reauthenticating(apiVersionsResponseFromOriginalAuthentication,
                 reauthenticationContext.reauthenticationBeginNanos());
         NetworkReceive netInBufferFromChannel = 
reauthenticationContext.networkReceive();
+        resetNetworkIn(); // reset the buffer before new assignment

Review Comment:
   Why do we need to do 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