Kafka Manager installation

Source: Internet
Author: User

New Blog Address: http://hengyunabc.github.io/kafka-manager-install/

Project information

Https://github.com/yahoo/kafka-manager

This project is more useful than https://github.com/claudemamo/kafka-web-console, the information displayed is richer, and the Kafka-manager itself can be a cluster.

However, Kafka-manager also does not have permission management capabilities.

Kafka Web Console installation can refer to the previous blog:

http://blog.csdn.net/hengyunabc/article/details/40431627

Installing SBT

SBT is a Scala packaging building tool.

Http://www.scala-sbt.org/download.html

Install under Ubuntu:

echo"deb https://dl.bintray.com/sbt/debian /"sudo-a /etc/apt/sources.list.d/sbt.listsudo apt-get updatesudo apt-get install sbt
Download, edit Yi

Compiling Yi, generating the release package:

git clone https://github.com/yahoo/kafka-managercd kafka-managersbt clean dist

The resulting package will be under Kafka-manager/target/universal. The generated package only requires a Java environment to run, and no SBT is required on the deployed machine.

If packaging is slow, you can consider configuring the proxy.

Deployment

Pack well, unzip on the deployment machine, modify the configuration file, you can run it.
-Unzip

unzip kafka-manager-1.0-SNAPSHOT.zip
    • Modify the conf/application.conf to change the kafka-manager.zkhosts to its own zookeeper server address
kafka-manager.zkhosts="localhost:2181"
    • Start
cd kafka-manager-1.0-SNAPSHOT/bin./kafka-manager -Dconfig.file=../conf/application.conf

View Help and background runs:

2>&1 &  

The default HTTP port is 9000, you can modify the value of the Http.port in the configuration file, or pass it through command-line arguments:

./kafka-manager -Dhttp.port=9001

Normally, the play framework should automatically load the contents of the conf/application.conf configuration, but it seems that this does not work and is explicitly specified.

Reference: HTTPS://GITHUB.COM/YAHOO/KAFKA-MANAGER/ISSUES/16

SBT Configuration Agent

SBT Configuration HTTP Proxy reference documentation:

Http://www.scala-sbt.org/0.12.1/docs/Detailed-Topics/Setup-Notes.html#http-proxy

You can set the three numbers by using-D:

java -Dhttp.proxyHost=myproxy -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=mypassword

You can also set the SBT_OPTS environment variable in the following way:

export SBT_OPTS="$SBT_OPTS -Dhttp.proxyHost=myproxy -Dhttp.proxyPort=myport"

Note that, myproxy, do not take the HTTP prefix or the port number in this value.

For example, your agent is http://localhost:8123, so you should configure this:

export SBT_OPTS="$SBT_OPTS -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8123"
A bag of a dozen.

If you are packing a problem, you can download it from here:

Http://pan.baidu.com/s/1kTtFpGV

md5:bde4f57c4a1ac09a0dc7f3f892ea9026

Kafka Manager 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.