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

Shantanu commented on KAFKA-19028:
----------------------------------

[~ecomar] let me know your thoughts on this

> AlterConfigPolicy with OpType.DELETE : inconsistent behavior between TOPIC 
> and BROKER resource
> ----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-19028
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19028
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Edoardo Comar
>            Priority: Major
>
> During an IncrementalAlterConfig that DELETES a config entry, the configs map 
> that an AlterConfigPolicy will inspect appears to be inconsistent between the 
> deletion of a broker property and the deletion of a topic property :
> when deleting a Topic property, the config entry is missing from the Map 
> passed to the policy
> when deleting a Broker property, the config entry is present in the Map 
> passed to the policy but the associated value is null.
> For consistency with the case of an OpType.SUBTRACT (which limited to a 
> config entry of type List) the Map could instead contain the default value of 
> the deleted property, if it exists.
>  



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

Reply via email to