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

The "--zookeeper" option can't be used with bin/kafka-configs.sh . The document should be updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • config, documentation
    • None

    Description

      Running with command " bin/kafka-configs.sh --describe --zookeeper localhost:2181 --entity-type brokers" , the output is
      Warning: --zookeeper is deprecated and will be removed in a future version of Kafka.
      Use --bootstrap-server instead to specify a broker to connect to.

      Running with command " bin/kafka-configs.sh --describe --bootstrap-server wls-x86-hp04:9092 --entity-type brokers", the output is
      Dynamic configs for broker 0 are:
      Dynamic configs for broker 1 are:
      Dynamic configs for broker <default> are:
      The entity name for brokers must be a valid integer broker id, found: <default>

      In document https://kafka.apache.org/documentation/#rep-throttle, it uses "zookeeper", which should be updated

      Attachments

        Activity

          People

            Unassigned Unassigned
            adally jiamei xie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: