You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2020/03/27 10:22:00 UTC

[jira] [Comment Edited] (KAFKA-9773) Option combination "[bootstrap-server],[config]" can't be used with option "[alter]"

    [ https://issues.apache.org/jira/browse/KAFKA-9773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068518#comment-17068518 ] 

Luke Chen edited comment on KAFKA-9773 at 3/27/20, 10:21 AM:
-------------------------------------------------------------

Please use kafka-config.sh --alter instead.

Ex: 
{code:java}
kafka-configs.sh --zookeeper localhost:2181 --entity-type topics --entity-name my-topic --alter --add-config max.message.bytes=128000
{code}
 


was (Author: showuon):
Please use kafka-config.sh --alter instead.

Ex: k{{afka-configs}}{{.sh --zookeeper localhost:2181 --entity-}}{{type}} {{topics --entity-name my-topic }}{{--alter --add-config max.message.bytes=128000}}

{{}}{{}}{{}}{{}}

 

> Option combination "[bootstrap-server],[config]" can't be used with option "[alter]"
> ------------------------------------------------------------------------------------
>
>                 Key: KAFKA-9773
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9773
>             Project: Kafka
>          Issue Type: Test
>            Reporter: startjava
>            Priority: Major
>
> ghy@ghy-VirtualBox:~/T/k/bin$ ./kafka-topics.sh --topic my3 --bootstrap-server localhost:9081,localhost:9082,localhost:9083 --alter --config max.message.bytes=20480
> Option combination "[bootstrap-server],[config]" can't be used with option "[alter]"
>  
> use kafka2.4.1 version bottom error!
> how do not show bottom error ?
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)