In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use kafka-manager for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Yahoo's official github project: https://github.com/yahoo/kafka-manager
The compiled package is provided here, which can be used directly after download, and can be compiled without sbt.
Link: http://pan.baidu.com/s/1bQ3lkM password: c251
1. Upload the downloaded package to the linux directory for decompression
Unzip kafka-manager-1.3.0.7.zipmv kafka-manager-1.3.0.7 kafka-manager
2. Modify the configuration file
Modify zk configuration in application.conf
Vim kafka-manager/conf/application.conf modify configuration: kafka-manager.zkhosts= add configuration: http.port= (default 9000)
3. Since the use of kafkamanage is based on jdk8, install jdk8 first and simply download and decompress it.
4. To see the read, you need to enable JMX for the write speed. Modify kafka-server-start.sh and add a line: add JMX port 8999.
If ["x$KAFKA_HEAP_OPTS" = "x"]; then export KAFKA_HEAP_OPTS= "- Xmx1G-Xms1G" export JMX_PORT= "8999" fi
Note: each kafka broker needs to be modified. Restart the kafka after modification.
5. Start kafka manager
Cd kafka-manager/bin./kafka-manager-java-home / path/to/java1.8
Run in the background:
Nohup. / kafka-manager-java-home / path/to/jdk8-Dconfig.file=../conf/application.conf > / dev/null 2 > & 1 &
6. View the web page in localhost:9000.
(1) create cluster: click Cluster and Add Cluster at the top
(2) configure cluster:
First name; Cluster zkhost format: host1:2181,host2:2181,host3:2181
Kafka version. Check JMX and the check box below to show more metrics.
7. After the creation is completed, you can view the
Topics related:
This is the end of the article on "how to use kafka-manager". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.