tombentley commented on a change in pull request #10743: URL: https://github.com/apache/kafka/pull/10743#discussion_r648530700
########## File path: core/src/main/scala/kafka/server/KafkaApis.scala ########## @@ -1305,66 +1305,102 @@ class KafkaApis(val requestChannel: RequestChannel, } def handleFindCoordinatorRequest(request: RequestChannel.Request): Unit = { + val version = request.header.apiVersion + if (version < 4) { + handleFindCoordinatorRequestLessThanV4(request) + } else { + handleFindCoordinatorRequestV4AndAbove(request) Review comment: Yes, obvious now you point it out! I guess I can't see a better way of abstracting over that. -- 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