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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: config, documentation
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: