Ritikj55 commented on code in PR #23763:
URL: https://github.com/apache/kafka/pull/23763#discussion_r4525180569
##########
clients/src/main/java/org/apache/kafka/common/metrics/KafkaMetric.java:
##########
@@ -83,6 +105,16 @@ public Object metricValue() {
}
}
+ /**
+ * The method determines if the metric is active based on the recording
level and the metric's configuration.
+ * @return true if the metric is active, false otherwise
+ */
+ public boolean isActive() {
Review Comment:
sure , will make the function private and add Internal access class inside
kafkaMetric to is remain visible to kafka packages but not to kafka client user
--
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]