tinaselenge commented on code in PR #14375: URL: https://github.com/apache/kafka/pull/14375#discussion_r1360770031
########## core/src/main/java/kafka/server/ReplicaFetcherTierStateMachine.java: ########## @@ -68,14 +68,15 @@ */ public class ReplicaFetcherTierStateMachine implements TierStateMachine { private static final Logger log = LoggerFactory.getLogger(ReplicaFetcherTierStateMachine.class); - + private BrokerTopicStats brokerTopicStats; private LeaderEndPoint leader; private ReplicaManager replicaMgr; public ReplicaFetcherTierStateMachine(LeaderEndPoint leader, ReplicaManager replicaMgr) { this.leader = leader; this.replicaMgr = replicaMgr; + this.brokerTopicStats = replicaMgr.brokerTopicStats(); Review Comment: Good catch. Thanks -- 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