You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "divijvaidya (via GitHub)" <gi...@apache.org> on 2023/09/21 07:32:18 UTC
[GitHub] [kafka] divijvaidya commented on a diff in pull request #14375: KAFKA-15158: Add metrics for RemoteRequestsPerSec
divijvaidya commented on code in PR #14375:
URL: https://github.com/apache/kafka/pull/14375#discussion_r1332594386
##########
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:
you can get brokerTopicStats as replicaMgr.brokerTopicStats()
--
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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org