hachikuji commented on a change in pull request #10005: URL: https://github.com/apache/kafka/pull/10005#discussion_r567203060
########## File path: core/src/main/scala/kafka/server/KafkaApis.scala ########## @@ -249,6 +270,7 @@ class KafkaApis(val requestChannel: RequestChannel, } def handleLeaderAndIsrRequest(request: RequestChannel.Request): Unit = { + rejectWithUnsupportedVersionIfUsingRaftMetadataQuorum(request) Review comment: Do we excludes these APIs from the ApiVersions response when raft is enabled? It would be a little weird if `ApiVersions` indicates that an API is supported, but then we return UNSUPPORTED_VERSION when the client tries to use 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org