chia7712 commented on a change in pull request #10269:
URL: https://github.com/apache/kafka/pull/10269#discussion_r588050163
##########
File path: core/src/main/scala/kafka/server/KafkaApis.scala
##########
@@ -795,7 +795,17 @@ class KafkaApis(val requestChannel: RequestChannel,
// the callback for process a fetch response, invoked before throttling
def processResponseCallback(responsePartitionData: Seq[(TopicPartition,
FetchPartitionData)]): Unit = {
- val partitions = new util.LinkedHashMap[TopicPartition,
FetchResponseData.PartitionData]
+ val topicResponses = new
util.ArrayList[FetchResponseData.FetchableTopicResponse]()
Review comment:
This is the main purpose of this PR. `KafkaApis` keeps grouped data.
----------------------------------------------------------------
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:
[email protected]