junrao commented on code in PR #12005: URL: https://github.com/apache/kafka/pull/12005#discussion_r866389159
########## core/src/main/scala/kafka/server/AbstractFetcherThread.scala: ########## @@ -51,6 +51,7 @@ import scala.math._ */ abstract class AbstractFetcherThread(name: String, clientId: String, + val leader: LeaderEndPoint, Review Comment: We could. Alternatively, if we add brokerEndpoint() to LeaderEndPoint, we could implement it in RemoteLeaderEndPoint by getting it from the ReplicaFetcherBlockingSend inside RemoteLeaderEndPoint. -- 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