kafka-eagle 监控平台搭建(windows)
1、启动zookeeper和kafka
2、安装kafka-eagle:https://blog.csdn.net/fyihdg/article/details/125587127
3、使用sqlite数据库完成搭建(默认使用的mysql,但我的版本为8.0,eagle好像不支持)
安装sqlite数据库:https://blog.csdn.net/weixin_44299027/article/details/122240322
4、修改eagle的system-config.properties文件:
###################################### # kafka sqlite jdbc driver address ###################################### efak.driver=org.sqlite.JDBC #efak.url=jdbc:sqlite:/hadoop/kafka-eagle/db/ke.db efak.url=jdbc:sqlite:/software/sqlite/db/ke.db efak.username=root efak.password=root ###################################### # kafka mysql jdbc driver address (把mysql注释掉) ###################################### #efak.driver=com.mysql.cj.jdbc.Driver #efak.url=jdbc:mysql://127.0.0.1:3306/ke?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull #efak.url=jdbc:mysql://localhost:3306/ke?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 #efak.username=root #efak.password=12345
5、配置环境变量
5、启动eagle
双击ke.bat脚本文件即可:
6、完成
输入默认的用户名:admin,密码:123456