- remove_red_eye7417 Views
- event1 Mar 2019
- access_time3 min read
In this article, we are going to set up the Kafka management software to manage and overview our cluster.
The software we are going to use is called Kafka manager developed by folks at Yahoo.
Installing Kafka manager
You need to have Java v8 installed in your system before installing the Kafka manager.
Download the Kafka manager from Github.
If you have downloaded the zip file, unzip it using the unzip utility of Ubuntu.
Once the download is completed, we need to build the Kafka manager.
Switch to the Kafka manager folder and run this command.
$ ./sbt clean dist
Then go ahead and grab a coffee. This will take some time.
Once the build is completed, you should be seeing a target directory created inside the Kafka manager folder.
Before we start the Kafka manager, we need to do a configuration.
Open up application.conf file which is in the conf directory.
Change the following values:
This is a basic configuration to get you started.
Now run the Kafka manager. First switch to this directory.
You should be seeing a zip file created which is our build. Unzip it and then switch to the folder.
Now run the Kafka manager using the following command.
By default, it runs on port 9000. Open Kafka manager from your local machine by typing
Type in the username and password you have set in the config. You should be seeing a Kafka manager screen.
Adding a new cluster in Kafka manager
From the Cluster menu, click on Add Cluster button. Give it a proper name and type the zookeeper host addresses separated by commas.
In our case, we have 3 zookeepers running on 3 EC2 instances. So add all three addresses like this.
Check the Enable JMX Polling button and click on save. Kafka manager will register the cluster and provide you all information about it.
Now you should be seeing cluster information like this.
You can view topics, brokers and their profiling information using Kafka manager.
You can create, list topics too.
Kafka manager is really simple and easy to set up a tool for our Kafka cluster.
This article is a part of a series, check out other articles here:
1: What is Kafka
2: Setting Up Zookeeper Cluster for Kafka in AWS EC2
3: Setting up Multi-Broker Kafka in AWS EC2
4: Setting up Authentication in Multi-broker Kafka cluster in AWS EC2
5: Setting up Kafka management for Kafka cluster
6: Capacity Estimation for Kafka Cluster in production
7: Performance testing Kafka cluster