环境准备
kafka
http://kafka.apache.org/downloads.html
zookeeper
http://zookeeper.apache.org/releases.html
kafka-eagle
http://download.kafka-eagle.org/
安装使用(默认已正常安装JAVA运行环境)
安装与配置
wget https://github.com/smartloli/kafka-eagle-bin/archive/refs/tags/v2.0.7.tar.gz
tar zxvf v2.0.7.tar.gz
tar zxvf kafka-eagle-bin-2.0.7/efak-web-2.0.7-bin.tar.gz
rm -rf kafka-eagle-bin-*
export KE_HOME=$(pwd)/efak-web-2.0.7
export PATH=$PATH:$KE_HOME/bin
vim efak-web-2.0.7/conf/system-config.properties
# 修改zookeeper配置
efak.zk.cluster.alias=cluster1,cluster2
cluster1.zk.list=tdn1:2181,tdn2:2181,tdn3:2181
cluster2.zk.list=xdn10:2181,xdn11:2181,xdn12:2181
# 屏蔽sqlite,使用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.username=root
efak.password=123456
#启动
./efak-web-2.0.7/bin/ke.sh start
通过http://127.0.0.1:8048/即可访问