Kafka himself didn't even have a web management interface.
Here's a third-party:
Https://github.com/claudemamo/kafka-web-console
The pit daddy is incredibly no detailed installation steps, only a few simple instructions for people unfamiliar with the development of Scala play, the egg hurts. The detailed installation process is documented below.
Download the Install Scala build tool SBT First, the latest version can be viewed on the official website:
Http://www.scala-sbt.org/0.13/tutorial/Installing-sbt-on-Linux.html
wget https://dl.bintray.com/sbt/debian/sbt-0.13.6.deb dpkg-i sbt-0.13.6.deb sudo dpkg-i sbt-0.13.6.deb git clone https://github.com/claudemamo/kafka-web-console cd kafka-web-console/ SBT Dist This command generates a package that can be published in the Target/universal directory.
In addition, the SBT Run command allows you to run directly, but it is best to generate a standalone package so that the server can run as long as Java is available.
This is not a lot of articles on the Internet, which is also a reason to write this blog.
The default database is H2, in fact I think H2 is enough, do not need to put data to MySQL, very troublesome, and not necessary.
If the SBT download dependency package is slow, consider using a proxy:
The environment variable is available under Bash settings.
Export sbt_opts= "$SBT _opts-dhttp.proxyhost=myproxy-dhttp.proxyport=myport"
Extract
Unzip Kafka-web-console-2.1.0-snapshot.zip CD Kafka-web-console-2.1.0-snapshot/bin
The first time you start up, add a parameter:
Otherwise the error will be:
[Warn] Play-run with-dapplyevolutions.default=true if you want to Run them automatically (be careful) Oops, cannot Start the server. @6k1jkg3be:database ' default ' needs evolution! At play.api.db.evolutions.evolutionsplugin$ $anonfun $onstart$1$ $anonfun $apply$1.apply$mcv$sp (Evolutions.scala : 484)
? View Help and background runs:
./kafka-web-console-h nohup./kafka-web-console >/dev/null 2>&1 &
Reference:
SBT Setup Agent:
Http://stackoverflow.com/questions/13803459/how-to-use-sbt-from-behind-proxy
Kafka Web Console installation