Edoardo Comar created KAFKA-19028:
-------------------------------------

             Summary: 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


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