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

Piotr Smolinski commented on KAFKA-10176:
-----------------------------------------

I raised the corresponding ticket for Confluent docs.

If --alter with --config is deprecated, it should be rather hinted by the 
command output, than documented as upgrade note that is already more than 4 
years old.

I will create a separate ticket for it. 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