我应该创造一个主题
sh /opt/client/Kafka/kafka/bin/kafka-topics.sh --zookeeper xxx.xxx.xxx.xxx:24002/kafka --create --partitions 3 --replication-factor 1 --topic order在卡夫卡而不是
sh /opt/client/Kafka/kafka/bin/kafka-topics.sh --zookeeper xxx.xxx.xxx.xxx:24002 --create --partitions 3 --replication-factor 1 --topic order为什么真正的方式还有一个词"/kafka"?
发布于 2022-08-28 12:55:51
动物园管理员的/kafka被称为色度。它的作用就像一个文件夹在动物园管理员,以隔离数据。你需要问你的服务器管理员为什么要这样做
值得一提的是,动物园饲养员旗在最新的卡夫卡中被废弃了。
此外,您应该将Kafka安装bin文件夹放置在您的路径上,这样您就不需要总是使用完整的文件路径。
https://stackoverflow.com/questions/73518777
复制相似问题