代碼地址: https://github.com/yahoo/kafka-managerhtml
注意只能使用 Java 7!Java 6 編譯不經過,Java 8 在運行的時候會報錯:java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 52.0java
部署步驟:git
ubuntu下安裝方式:github
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list sudo apt-get update sudo apt-get install sbt
cent-OS安裝:ubuntu
curl https://bintray.com/sbt/rpm/rpm > bintray-sbt-rpm.repo sudo mv bintray-sbt-rpm.repo /etc/yum.repos.d/ sudo yum install sbt
cd target/universal/ && unzip kafka-manager-1.0-SNAPSHOT.zip cd target/universal/kafka-manager-1.0-SNAPSHOT/bin ./kafka-manager