Table of Contents |
---|
Status
Current state: "Under Discussion"Adopted
Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]
JIRA: KAFKA-6986 [Change the link from KAFKA-1 to your own ticket]
Released: 2.1.0
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
By adding metrics(), now any client can get the metrics from AdminClient, this is a should-have function since all the other clients have it, this will help to gain more visibility for those application that use admin client.
Public Interfaces
Code Block | ||
---|---|---|
| ||
/** * Get the metrics kept by the adminClient * * @return */ public abstract Map<MetricName, ? extends Metric> metrics(); |
...
- No known compatibility issues. This is thread-safe because the use of an
unmodifiableMap.