jolshan commented on a change in pull request #11331: URL: https://github.com/apache/kafka/pull/11331#discussion_r743977547
########## File path: core/src/main/scala/kafka/server/ReplicaFetcherThread.scala ########## @@ -305,9 +304,10 @@ class ReplicaFetcherThread(name: String, } else { val version: Short = if (fetchRequestVersion >= 13 && !fetchData.canUseTopicIds) 12 else fetchRequestVersion val requestBuilder = FetchRequest.Builder - .forReplica(version, replicaId, maxWait, minBytes, fetchData.toSend, fetchData.topicIds) + .forReplica(version, replicaId, maxWait, minBytes, fetchData.toSend) .setMaxBytes(maxBytes) - .toForget(fetchData.toForget) + .removed(fetchData.toForget) + .replaced(fetchData.toReplace) Review comment: I think I have the same confusion here as I do for the fetcher tests. I agree that changes should be tested, but I'm not really sure how to do this 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