apoorvmittal10 commented on code in PR #20884:
URL: https://github.com/apache/kafka/pull/20884#discussion_r2527308855


##########
core/src/main/java/kafka/server/share/SharePartition.java:
##########
@@ -2680,6 +2599,8 @@ private KafkaException fetchPersisterError(short 
errorCode, String errorMessage)
                 new UnknownTopicOrPartitionException(errorMessage);
             case FENCED_LEADER_EPOCH, FENCED_STATE_EPOCH ->
                 new NotLeaderOrFollowerException(errorMessage);
+            case SASL_AUTHENTICATION_FAILED, UNSUPPORTED_VERSION ->
+                new UnknownServerException("Unable to complete operation due 
to internal error.");

Review Comment:
   ```suggestion
                   new UnknownServerException("Unable to complete operation due 
to server error.");
   ```



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