dino2895 commented on code in PR #22798:
URL: https://github.com/apache/kafka/pull/22798#discussion_r3560197431


##########
server/src/main/java/org/apache/kafka/network/metrics/RequestChannelMetrics.java:
##########
@@ -48,7 +48,7 @@ public RequestChannelMetrics(ApiMessageType.ListenerType 
scope) {
         this(ApiKeys.apisForListener(scope));
     }
 
-    public RequestMetrics apply(String metricName) {
+    public RequestMetrics get(String metricName) {

Review Comment:
   Done. Thanks for the suggestion! 
   `RequestChannelMetrics` now implements `AutoCloseable`, and I added 
`@Override` to the existing `close()` method.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to