chia7712 commented on code in PR #18453:
URL: https://github.com/apache/kafka/pull/18453#discussion_r1913665208


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -217,7 +216,7 @@ class KafkaApis(val requestChannel: RequestChannel,
         case ApiKeys.ALTER_CLIENT_QUOTAS => forwardToController(request)
         case ApiKeys.DESCRIBE_USER_SCRAM_CREDENTIALS => 
handleDescribeUserScramCredentialsRequest(request)
         case ApiKeys.ALTER_USER_SCRAM_CREDENTIALS => 
forwardToController(request)
-        case ApiKeys.ALTER_PARTITION => handleAlterPartitionRequest(request)
+        case ApiKeys.ALTER_PARTITION => forwardToController(request)

Review Comment:
   we should remove `case ApiKeys.ALTER_PARTITION` directly. The socket server 
can reject the request automatically



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