Current stateAdopted

Discussion thread: here 


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

 * Get the metrics kept by the adminClient
 * @return
public abstract Map<MetricName, ? extends Metric> metrics();

Proposed Changes

public Map<MetricName, ? extends Metric> metrics() {
    return Collections.unmodifiableMap(this.metrics.metrics());

Compatibility, Deprecation, and Migration Plan

  • No known compatibility issues. This is thread-safe because the use of an 

Rejected Alternatives

  • No labels