kafka-eagle

/ Kafka / 没有评论 / 45浏览

使用kafka-eagle监控kafka集群

官网

GitHub - smartloli/kafka-eagle: Used to monitor the consumer status of Kafka clusters, as well as offsets, metadata and other information.

洁面

安装

Download - Kafka Eagle

根据kafka的版本支持两种存储

配置如下(conf/system-config.properties):

# Set kafka cluster alias
kafka.eagle.zk.cluster.alias=cluster1,cluster2

# Set kafka cluster zookeeper address
cluster1.zk.list=xdn1:2181,xdn2:2181,xdn3:2181
cluster2.zk.list=tdn1:2181,tdn2:2181,tdn3:2181

# Set kafka cluster offset storage path
cluster1.kafka.eagle.offset.storage=kafka
cluster2.kafka.eagle.offset.storage=zookeeper

# 需改端口
kafka.eagle.webui.port=8080

# 改jdbc存储路径,将/hodoop/db/ke.db修改为自己解压的目录
kafka.eagle.url=jdbc:sqlite:/home/cmccapp/kafka-eagle-bin-1.2.6/kafka-eagle-web-1.2.6/db/ke.db

./ke.sh start启动。