majialoong opened a new pull request, #20543:
URL: https://github.com/apache/kafka/pull/20543

   KIP-188 introduced MetricValueProvider, adding Measurable and Gauge as its 
sub interfaces. However, this left a legacy 
[issue](https://github.com/apache/kafka/pull/3705#discussion_r140830112): move 
the value method from Gauge to the super interface, MetricValueProvider.
   
   This PR moves the value method from Gauge to MetricValueProvider and 
provides a default implementation in Measurable. This unifies the methods used 
by Gauge and Measurable to obtain monitoring values.


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

Reply via email to