jolshan commented on a change in pull request #9944: URL: https://github.com/apache/kafka/pull/9944#discussion_r627026623
########## File path: core/src/main/scala/kafka/server/KafkaApis.scala ########## @@ -820,20 +838,30 @@ class KafkaApis(val requestChannel: RequestChannel, def createResponse(throttleTimeMs: Int): FetchResponse = { // Down-convert messages for each partition if required val convertedData = new util.LinkedHashMap[TopicPartition, FetchResponseData.PartitionData] - unconvertedFetchResponse.responseData.forEach { (tp, unconvertedPartitionData) => - val error = Errors.forCode(unconvertedPartitionData.errorCode) - if (error != Errors.NONE) - debug(s"Fetch request with correlation id ${request.header.correlationId} from client $clientId " + - s"on partition $tp failed due to ${error.exceptionName}") - convertedData.put(tp, maybeConvertFetchedData(tp, unconvertedPartitionData)) + unconvertedFetchResponse.data().responses().forEach { topicResponse => + if (topicResponse.topic() != "") { Review comment: Realized this was no longer the case and removed in the most recent commit. -- 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