[ 
https://issues.apache.org/jira/browse/KAFKA-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edoardo Comar updated KAFKA-19026:
----------------------------------
    Attachment: KAFKA19026Test-1.java

> AlterConfigPolicy incompatibility between ZK mode and KRaft mode when using 
> AlterConfigOp.OpType.SUBTRACT
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-19026
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19026
>             Project: Kafka
>          Issue Type: Bug
>          Components: core, migration
>    Affects Versions: 3.9.0, 3.8.1
>            Reporter: Edoardo Comar
>            Priority: Major
>         Attachments: KAFKA19026Policy.java, KAFKA19026Test.java
>
>
> When processing an Incremental Alter Config on a Config entry of type List 
> with OpType.SUBTRACT
> the metadata passed to  {color:#000000}AlterConfigPolicy.validate contains 
> {color}
>  * {color:#000000}in KRaft mode : {color}{color:#000000}the config that would 
> result AFTER the subtraction{color}
>  * {color:#000000}in ZK mode : the config as if the opType was OpType.SET, 
> with no indication that actually the value would be removed{color}



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

Reply via email to