jolshan commented on code in PR #12850: URL: https://github.com/apache/kafka/pull/12850#discussion_r1028565156
########## core/src/main/scala/kafka/server/KafkaApis.scala: ########## @@ -1805,38 +1804,24 @@ class KafkaApis(val requestChannel: RequestChannel, def handleLeaveGroupRequest(request: RequestChannel.Request): Unit = { val leaveGroupRequest = request.body[LeaveGroupRequest] - val members = leaveGroupRequest.members.asScala.toList - - if (!authHelper.authorize(request.context, READ, GROUP, leaveGroupRequest.data.groupId)) { + def sendResponse(response: AbstractResponse): Unit = { requestHelper.sendResponseMaybeThrottle(request, requestThrottleMs => { - new LeaveGroupResponse(new LeaveGroupResponseData() Review Comment: In some of the other PRs we had trace logs. Did we want to do that here? -- 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