1. 环境配置
参考前面的几篇博客:
Spark 安装.md
kafka安装.md
zookeeper安装.md
注意:
• Check “camera.url” and “camera.id” properties in “stream-collector.properties” file.
• Set “stream-collector.log” file path in “log4j.properties” file.
这两步根据自己需要修改。
2. Make sure Zookeeper and Kafka servers are up and running
-
启动Zookeeper服务器, 执行 zkServer.cmd
-
启动kafka 服务器,执行kafka-server-start.bat .\config\ser