kamalcph commented on code in PR #20721:
URL: https://github.com/apache/kafka/pull/20721#discussion_r2449357022
##########
core/src/main/scala/kafka/server/DelayedRemoteFetch.scala:
##########
@@ -109,7 +109,7 @@ class DelayedRemoteFetch(remoteFetchTasks:
util.Map[TopicIdPartition, Future[Voi
override def onComplete(): Unit = {
val fetchPartitionData = localReadResults.map { case (tp, result) =>
val remoteFetchResult = remoteFetchResults.get(tp)
- if (remoteFetchInfos.containsKey(tp)
+ if (remoteFetchResults.containsKey(tp)
Review Comment:
This change is minor one and required when enabling single-partition fetch.
Let me know if you want to take this up in the next PR.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]