dajac commented on code in PR #12005:
URL: https://github.com/apache/kafka/pull/12005#discussion_r886854697


##########
core/src/main/scala/kafka/server/AbstractFetcherManager.scala:
##########
@@ -68,7 +68,7 @@ abstract class AbstractFetcherManager[T <: 
AbstractFetcherThread](val name: Stri
         if (id.fetcherId >= newSize)
           thread.shutdown()
         partitionStates.forKeyValue { (topicPartition, currentFetchState) =>
-            val initialFetchState = 
InitialFetchState(currentFetchState.topicId, thread.sourceBroker,
+            val initialFetchState = 
InitialFetchState(currentFetchState.topicId, thread.leader.brokerEndPoint(),

Review Comment:
   Ack. Let's leave it as it is then. Thanks for trying.



-- 
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]

Reply via email to