[ 
https://issues.apache.org/jira/browse/KAFKA-18984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935468#comment-17935468
 ] 

Andrew Schofield commented on KAFKA-18984:
------------------------------------------

[~chia7712] There is no justification that I can think of. You can delete an 
entire client metrics resource, or you can alter an existing one to reset a 
configuration to its default manually. kafka-client-metrics.sh doesn't have a 
way of actually deleting a specific configuration, which would have the same 
effect as resetting to its default value.

> Support to delete specific config by kafka-client-metrics.sh
> ------------------------------------------------------------
>
>                 Key: KAFKA-18984
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18984
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>
> the delete op defined by 
> [KIP-714|https://cwiki.apache.org/confluence/display/KAFKA/KIP-714%3A+Client+metrics+and+observability#KIP714:Clientmetricsandobservability-Deleteaclientmetricsconfigurationresource]
>  is shown below. 
> {code:java}
> $ kafka-client-metrics.sh --bootstrap-server $BROKERS --delete --name 
> MYMETRICS
>  
> $ kafka-configs.sh --bootstrap-server $BROKERS --alter --entity-type 
> client-metrics --entity-name MYMETRICS \
>   --delete-config metrics,interval.ms,match
> {code}
> That means `kafka-client-metrics.sh` can NOT remove specific config from the 
> client metrics. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to