Kafka Web Console installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.