[ https://issues.apache.org/jira/browse/KAFKA-10176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Smolinski resolved KAFKA-10176. ------------------------------------- Resolution: Won't Fix Closing, as the feature has been deprecated in Kafka 0.9 and the proper way to alter topic config is via *kafka-configs* command. > 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)