xiaodongdu commented on a change in pull request #8691: URL: https://github.com/apache/kafka/pull/8691#discussion_r431267044
########## File path: clients/src/main/java/org/apache/kafka/common/metrics/MetricsReporter.java ########## @@ -65,4 +66,12 @@ default void validateReconfiguration(Map<String, ?> configs) throws ConfigExcept default void reconfigure(Map<String, ?> configs) { } + /** + * Provides context labels for the service or library exposing metrics + * + * @param metricsContext the metric context + */ + @InterfaceStability.Evolving + default void contextChange(MetricsContext metricsContext) { Review comment: Sounds good. Updated javadoc. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org