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

Chia-Ping Tsai commented on KAFKA-18984:
----------------------------------------

[~schofielaj] thank you for your response. Yes, I understand that deleting an 
'override' configuration equates to resetting it to its default value. 
Therefore, my question can be revised to: 'Could kafka-client-metrics.sh reset 
specific configurations?' For example, the following command can reset 
MYMETRICS's `interval.ms` to its default value.

{code:java}
kafka-client-metrics.sh --bootstrap-server $BROKERS --delete --name MYMETRICS 
--delete-config  interval.ms
{code}



> 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