guozhangwang commented on PR #12121:
URL: https://github.com/apache/kafka/pull/12121#issuecomment-1130394986

   > From a public API point of view, Metrics is in a gray area. It is not 
officially part of our public API however we have a few interfaces leaking it. 
That being said, we should be careful with the changes that we do here.
   
   I agree with @dajac  as well, what I was thinking is that we can modify the 
private `registerMetric`, and I'm neutral about whether adding a public 
`metricOrElseCreate` should require a KIP. If people think this is necessary, 
we could create one.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to