THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
By adding metrics(), now any client can get the metrics from AdminClient, this is a should-have function since all the other clients has (producer, consumer...) have it.
Public Interfaces
Code Block | ||
---|---|---|
| ||
/** * Get the metrics kept by the adminClient * * @return */ public abstract Map<MetricName, ? extends Metric> metrics(); |
...