abbccdda commented on a change in pull request #9103: URL: https://github.com/apache/kafka/pull/9103#discussion_r511007228
########## File path: core/src/main/scala/kafka/server/KafkaApis.scala ########## @@ -126,11 +125,44 @@ class KafkaApis(val requestChannel: RequestChannel, info("Shutdown complete.") } + private def checkForwarding(request: RequestChannel.Request): Unit = { + if (!request.header.apiKey.forwardable && request.envelopeContext.isDefined) { Review comment: For pt2, if the forwarding is not enabled on the active controller, but it has the capability, should we just serve the request? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org