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

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

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

Yeva Byzek updated KAFKA-8479:
------------------------------
    Description: 
*Problem*: {{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.

 

  was:
{{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.


> 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
>            Priority: Minor
>
> *Problem*: {{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)