Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
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