kafka-manager installation deployment

A, kafka-manager Profile

     To simplify the development and service engineers, maintenance Kafka cluster, yahoo construct called Kafka's Web-based management tool called Kafka Manager. This management tool makes it easy to find what topic distributed unevenly distributed in the cluster, or unevenness of the district distributed throughout the cluster. It supports management of multiple clusters, select copy, a copy of the re-allocation and create Topic. At the same time, this is also a very good management tool can skim the cluster tool has the following functions:

1. Management plurality kafka cluster
2. Cluster convenient check kafka state (topics, brokers, backup distribution, the distribution partition)
Select the copy you want to run
4. condition based on the current partition
5. The topic can be selected and arranged Creating topic (0.8.1.1 and a different configuration of 0.8.2)
6. delete topic (only supports version 0.8.2 and above to set delete.topic.enable = true in the broker configuration)
7.Topic List will indicate which topic is deleted (in the applicable version 0.8.2 above)
8. increase existing topic as partitions
9. topic update existing configuration
10. on the plurality of topic batch heavy partition
11. on the plurality of topic batch heavy partition ( optional partition broker position)

kafka-manager Project Address: https://github.com/yahoo/kafka-manager

Second, the installation

1. Environmental Requirements

 

1. Installation jdk8 
JDK 1.8.0_60- 

2, Kafka Cluster 
Server: 
10.0.0.50:12181 
10.0.0.60:12181 
10.0.0.70:12181 
Software: 
kafka_2.8.0-0.8.1.1 
ZooKeeper-3.3.6 

3. System 
Linux kafka50 2.6 .32-642.el6.x86_64 # 1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU / Linux

2. Download and install kafka-manager

2.1. Download kafka-manager

Want to view and manage Kafka, full use of the command is not convenient, we can use Yahoo's open source Kafka-manager, GitHub at the following address:

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

We can use Git or downloaded directly from Releases in here to download the 1.3.3.7 version from the following address:

https://github.com/yahoo/kafka-manager/releases

Unzip the download is complete.

Note: The above download source, you need to be compiled in accordance with the later steps after downloading. If you feel trouble, it can be downloaded directly from the following address compiled kafka-manager-1.3.3.7.zip. 
Link: https: //pan.baidu.com/s/1qYifoa4 Password: el4o

2.2. Unpack

unzip kafka-manager-1.3.3.7.zip -d /data/ cd /data/kafka-manager-1.3.3.7

cd /data/kafka-manager-1.3.3.7

2.3 modify the configuration conf / application.properties

[root@kafka50 conf]# pwd /data/kafka-manager-1.3.3.7/conf

[root@kafka50 conf]# ls application.conf

consumer.properties logback.xml logger.xml nohup.out routes

Edit the configuration file application.conf

#kafka-manager.zkhosts="localhost:2181"

## comments this line, add the following line Kafka used to live -manager.zkhosts = "10.0.0.50:12181,10.0.0.60:12181,10.0.0.70:12181"

2.4 start

bin / kafka-manager kafka-manager is the default port 9000, by -Dhttp.port, designated port;

-Dconfig.file = conf / application.conf specify the configuration file:

nohup bin/kafka-manager -Dconfig.file=conf/application.conf -Dhttp.port=8080 &

3. Browser Access

 Use ip: port access

 

 

https://www.cnblogs.com/dadonggg/p/8205302.html

 

Guess you like

Origin blog.csdn.net/mn_kw/article/details/89883730