TaiJuWu opened a new pull request, #19220: URL: https://github.com/apache/kafka/pull/19220
JIRA: https://issues.apache.org/jira/browse/KAFKA-18679 The following metrics are being exposed as floating point doubles instead of ints/longs: - log-end-offset - log-end-epoch - number-unkown-voter-connections - current-leader - current-vote - current-epoch - high-watermark Fix these issues by call `public void addMetric(MetricName metricName, MetricValueProvider<?> metricValueProvider)` instead of `addMetric(MetricName metricName, Measurable measurable)` In order to do this, we need to cast to Gauge<T>. -- 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]
