Luke Chen created KAFKA-17583:
---------------------------------

             Summary: 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.8.0, 3.5.0
            Reporter: Luke Chen


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