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

Chia-Ping Tsai resolved KAFKA-17583.
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> kafka-config script cannot set `cleanup.policy=delete,compact`
> --------------------------------------------------------------
>
>                 Key: KAFKA-17583
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17583
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 3.5.0, 3.8.0
>            Reporter: Luke Chen
>            Assignee: Lin Siyuan
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Kafka-config.sh cannot set configs with "," in the value, because we split 
> the option value with "," 
> [here|https://github.com/apache/kafka/blob/3783385dc1cc27246cf09ec791e4b43f577a26ea/core/src/main/scala/kafka/admin/ConfigCommand.scala#L300].
> {code:java}
> > bin/kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics 
> > --entity-name t1 --alter --add-config cleanup.policy=delete,compact
> requirement failed: Invalid entity config: all configs to be added must be in 
> the format "key=val".
> {code}



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

Reply via email to