在Windows上运行Kafka kafka_2.11-0.9.0.0

时间:2015-12-20 14:02:17

标签: apache-kafka

我正试图在Windows上修改最新版本的Kafka(kafka_2.11-0.9.0.0)。我确实更改了所有配置文件中的日志和tmp目录,当我尝试启动zookeeper服务器并得到以下错误时:

  

[2015-12-20 18:43:10,826] ERROR意外异常,退出   异常(org.apache.zookeeper.server.ZooKeeperServerMain)   java.io.IOException:无法创建数据目录C:kafka-runtime
  熔点\版本-2-           在org.apache.zookeeper.server.persistence.FileTxnSnapLog。(FileTxnSnapLog.java:85)           在org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:104)           在org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86)           在org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52)           在org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116)           在org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)

C:kafka-runtime是我创建的目录C:\kafka-runtime,在这里我可以看到“\”正在删除。

0 个答案:

没有答案