官网地址
https://quantifind.com/KafkaOffsetMonitor/
方法一:
git clone https://github.com/quantifind/KafkaOffsetMonitor.git
安装sbt(http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Linux.html)
curl https://bintray.com/sbt/rpm/rpm | sudo tee /etc/yum.repos.d/bintray-sbt-rpm.repo
sudo yum install sbt
cd KafkaOffsetMonitor
sbt assembly
2.方法二
测试:
java -cp KafkaOffsetMonitor-assembly-0.2.1.jar \
com.quantifind.kafka.offsetapp.OffsetGetterWeb \
--zk master:2181 \
--port 18088 \
--refresh 10.seconds \
--retain 2.days
web:http://master:18088/#/group/b2c_site_flow2
原文地址:http://11670039.blog.51cto.com/11660039/1795965