jolshan commented on code in PR #12855: URL: https://github.com/apache/kafka/pull/12855#discussion_r1035408521
########## core/src/main/scala/kafka/server/KafkaApis.scala: ########## @@ -1567,53 +1567,54 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def handleDescribeGroupRequest(request: RequestChannel.Request): Unit = { + def handleDescribeGroupsRequest(request: RequestChannel.Request): Unit = { + val describeRequest = request.body[DescribeGroupsRequest] + val includeAuthorizedOperations = describeRequest.data.includeAuthorizedOperations - def sendResponseCallback(describeGroupsResponseData: DescribeGroupsResponseData): Unit = { - def createResponse(requestThrottleMs: Int): AbstractResponse = { - describeGroupsResponseData.setThrottleTimeMs(requestThrottleMs) - new DescribeGroupsResponse(describeGroupsResponseData) - } - requestHelper.sendResponseMaybeThrottle(request, createResponse) + def sendResponse(response: AbstractResponse): Unit = { + requestHelper.sendResponseMaybeThrottle(request, requestThrottleMs => { Review Comment: did we want a trace log here too? -- 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