[
https://issues.apache.org/jira/browse/KAFKA-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044009#comment-18044009
]
PoAn Yang commented on KAFKA-19026:
-----------------------------------
KIP-1252:
[https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=399279475]
Discussion threads:
[https://lists.apache.org/thread/bknho1vrvby1tpq634g744vqf4mr8coh]
[https://lists.apache.org/thread/rb89742g91sdgd39nct22o60cxsk0g1r]
> AlterConfigPolicy incompatibility between ZK mode and KRaft mode when using
> AlterConfigOp.OpType.SUBTRACT/APPEND
> ----------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-19026
> URL: https://issues.apache.org/jira/browse/KAFKA-19026
> Project: Kafka
> Issue Type: Bug
> Components: core, migration
> Affects Versions: 3.8.1, 3.9.0
> Reporter: Edoardo Comar
> Assignee: Edoardo Comar
> Priority: Major
> Fix For: 3.9.2
>
> 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}
> {color:#000000}Also OpType.APPEND behaves inconsistently in this regard{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)