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


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -2525,42 +2522,10 @@ class KafkaApis(val requestChannel: RequestChannel,
         new AlterConfigsRequest(remaining, request.header.apiVersion()),
         response => sendResponse(response.map(_.data())))
     } else {
-      sendResponse(Some(processLegacyAlterConfigsRequest(request, remaining)))
+      throw KafkaApis.shouldAlwaysForward(request)

Review Comment:
   How could this happen in kraft mode? Do we need to change some code to make 
it impossible or is it already impossible? I'd rather do this in a generic way 
versus having each handler having to handle it.



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