【发布时间】:2016-06-11 14:41:58
【问题描述】:
我在尝试创建主题时使用 kafka Error while executing topic command replication factor: 1 larger than available brokers: 0 时出错。
我通过修改配置文件找到了解决方案(Error creating Kafka Topics- Replication factor larger than available brokers)
cp config/server.properties config/server-1.properties
cp config/server.properties config/server-2.properties)
但是我的问题是找不到配置文件cp: config/server.properties: No such file or directory
有人可以帮助我如何在 Mac 上使用终端找到它吗?
【问题讨论】:
-
config 目录下有哪些文件?你删除了什么吗?
-
感谢提问 :) 我只是不知道 config 目录在 mac 上的位置。你能指导我吗?
-
那你是怎么用kafka的呢?
标签: python terminal apache-kafka