nikramakrishnan commented on code in PR #14375:
URL: https://github.com/apache/kafka/pull/14375#discussion_r1357082765


##########
core/src/main/java/kafka/server/ReplicaFetcherTierStateMachine.java:
##########
@@ -68,14 +68,16 @@
  */
 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) {
+                                          ReplicaManager replicaMgr,
+                                          BrokerTopicStats brokerTopicStats) {

Review Comment:
   Note that this would currently break a lot of tests because 
`MockTierStateMachine` passes `null` for the `replicaMgr` parameter of the 
`ReplicaFetcherTierStateMachine` constructor.



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

Reply via email to