Kafka create topic as follow command but thow an error please explain itbinkafka-topicssh --create --zookeeper localhost2181 --replication-factor 1 --partitions 1 --topic mytopicException in thread ma
The error message indicates that the option "zookeeper" is not recognized by the command. This may be due to a version mismatch between the Kafka version being used and the version of the kafka-topics.sh script. In newer versions of Kafka, the option "--zookeeper" has been deprecated and replaced with "--bootstrap-server". Try replacing "--zookeeper" with "--bootstrap-server" in the command.
原文地址: https://www.cveoy.top/t/topic/c8QV 著作权归作者所有。请勿转载和采集!