You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Yeva Byzek (JIRA)" <ji...@apache.org> on 2019/06/04 17:02:01 UTC

[jira] [Created] (KAFKA-8479) kafka-topics does not allow client config settings using "--config"

Yeva Byzek created KAFKA-8479:
---------------------------------

             Summary: kafka-topics does not allow client config settings using "--config" 
                 Key: KAFKA-8479
                 URL: https://issues.apache.org/jira/browse/KAFKA-8479
             Project: Kafka
          Issue Type: Bug
            Reporter: Yeva Byzek


{{kafka-topics}} argument {{--config}} is used for setting topic config parameters only.  It cannot be used for setting client config parameters, otherwise an error results:


{noformat}
Error while executing topic command : Unknown topic config name: sasl.mechanism
[2019-06-04 12:37:05,746] ERROR org.apache.kafka.common.errors.InvalidConfigurationException: Unknown topic config name: sasl.mechanism
(kafka.admin.TopicCommand$){noformat}
 

 

Workaround: use the argument {{--command-config}} to pass in those client config parameters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)