[
https://issues.apache.org/jira/browse/KAFKA-17016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-17016.
------------------------------------
Fix Version/s: 3.9.0
Resolution: Fixed
> Align the behavior of GaugeWrapper and MeterWrapper
> ---------------------------------------------------
>
> Key: KAFKA-17016
> URL: https://issues.apache.org/jira/browse/KAFKA-17016
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: PoAn Yang
> Priority: Minor
> Fix For: 3.9.0
>
>
> MeterWrapper [0] can auto-recreate the removed metrics, but GaugeWrapper [1]
> can't. We should align the behavior in order to avoid potential bugs.
> [0]
> https://github.com/apache/kafka/blob/9b5b434e2a6b2d5290ea403fc02859b1c523d8aa/core/src/main/scala/kafka/server/KafkaRequestHandler.scala#L261
> [1]
> https://github.com/apache/kafka/blob/9b5b434e2a6b2d5290ea403fc02859b1c523d8aa/core/src/main/scala/kafka/server/KafkaRequestHandler.scala#L286
--
This message was sent by Atlassian Jira
(v8.20.10#820010)