rondagostino commented on a change in pull request #10045: URL: https://github.com/apache/kafka/pull/10045#discussion_r571174825
########## File path: core/src/main/scala/kafka/server/KafkaApis.scala ########## @@ -3511,4 +3501,14 @@ object KafkaApis { FetchResponse.sizeOf(versionId, unconvertedResponse.responseData.entrySet .iterator.asScala.filter(element => quota.isThrottled(element.getKey)).asJava) } + + // visible for testing + private[server] def shouldNeverReceive(request: RequestChannel.Request): Exception = { Review comment: Ah, I hadn't tested for those, and I moved based on rewriting tests. Will move. ---------------------------------------------------------------- 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