You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Edoardo Comar (Jira)" <ji...@apache.org> on 2025/03/21 15:44:00 UTC
[jira] [Commented] (KAFKA-19026) AlterConfigPolicy incompatibility between ZK mode and KRaft mode when using AlterConfigOp.OpType.SUBTRACT/APPEND
[ https://issues.apache.org/jira/browse/KAFKA-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937450#comment-17937450 ]
Edoardo Comar commented on KAFKA-19026:
---------------------------------------
see also https://issues.apache.org/jira/browse/KAFKA-19028
> 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.9.0, 3.8.1
> Reporter: Edoardo Comar
> Assignee: Edoardo Comar
> Priority: Major
> Fix For: 3.9.1
>
> 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)