You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Piotr Smolinski (Jira)" <ji...@apache.org> on 2020/06/16 18:32:00 UTC
[jira] [Created] (KAFKA-10176) kafka-topics command requires
--zookeeper for --alter --topic --config
Piotr Smolinski created KAFKA-10176:
---------------------------------------
Summary: 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
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)