Status
Current state: "Under Discussion"
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]
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Motivation
By adding metrics(), now any client can get the metrics from AdminClient, this is a should-have function since all the other clients has it.
Public Interfaces
/** * Get the metrics kept by the adminClient * * @return */ public abstract Map<MetricName, ? extends Metric> metrics();
Proposed Changes
@Override public Map<MetricName, ? extends Metric> metrics() { return Collections.unmodifiableMap(this.metrics.metrics()); }
Compatibility, Deprecation, and Migration Plan
- No known compatibility issues.