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

Luke Chen commented on KAFKA-10176:
-----------------------------------

hi [~psmolinski] , I think it is the issue in confluent doc.

In Kafka 0.9.0.0, we change the topic alter configuration to *kafka-configs.sh*

??Altering topic configuration from the kafka-topics.sh script 
(kafka.admin.TopicCommand) has been deprecated. Going forward, please use the 
kafka-configs.sh script (kafka.admin.ConfigCommand) for this functionality.??

[https://kafka.apache.org/documentation/#upgrade_901_notable]

 

Please follow this instruction:

[https://kafka.apache.org/documentation/#basic_ops_modify_topic]

 

If there's no other issue here, please close this ticket.

Thanks.

> kafka-topics command requires --zookeeper for --alter --topic --config
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-10176
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10176
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin, tools
>    Affects Versions: 2.5.0
>            Reporter: Piotr Smolinski
>            Priority: Major
>
> I tried command specified in Confluent Platform docs at:
> [https://docs.confluent.io/current/kafka/post-deployment.html#modifying-topics]
> {code:java}
> kafka-topics --bootstrap-server localhost:9092 --alter --topic my_topic_name 
> --config x=y
> Option combination "[bootstrap-server],[config]" can't be used with option 
> "[alter]" {code}
> The option --alter is still exclusive with --bootstrap-server and --config.
> [https://github.com/apache/kafka/blob/2.5.0/core/src/main/scala/kafka/admin/TopicCommand.scala#L713]
>  



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

Reply via email to