4.kafka-eagle叢集監控 安裝
阿新 • • 發佈:2019-01-11
1.kafka-eagle 下載地址
http://download.smartloli.org/ Kafka Eagle 1.2.8 was released on Jan 1, 2019. Direct File Download
kafka-eagle-bin-1.2.8.tar.gz
文件地址:https://ke.smartloli.org/
解壓:/opt/kafka-eagle-web-1.2.8
2.修改配置檔案
# vim /opt/kafka-eagle-web-1.2.8/conf
kafka.eagle.zk.cluster.alias=cluster1 //zk叢集 cluster1.zk.list=10.10.100.215:2181 //zk叢集地址,通過zk 即可監控到topic kafka.eagle.webui.port=8048 //kafka-eagle 訪問頁面 kafka.eagle.url=jdbc:sqlite:/opt/kafka-eagle-web-1.2.8/db/ke.db //修改這個db目錄,按照自己解壓的包目錄
3.啟動指令碼
# cd /opt/kafka-eagle-web-1.2.8/bin
#chmod 777 ke.sh
#./ke.sh start
4.啟動成功
5.檢視程序埠號
#ps -aux | grep java | grep kafka
#netstat -lntpu | grep 18823
6.訪問地址
7.kafka-eagle message 訊息查詢
可以查到訊息