Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10176

kafka-topics command requires --zookeeper for --alter --topic --config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.5.0
    • None
    • admin, tools
    • None

    Description

      I tried command specified in Confluent Platform docs at:

      https://docs.confluent.io/current/kafka/post-deployment.html#modifying-topics

      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]" 

      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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            psmolinski Piotr Smolinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: