How to Install Temboz on Debian Latest?
Temboz is an open-source tool to improve and simplify the handling of Kafka topics. This tutorial will guide you through the installation process of Temboz on Debian Latest.
Prerequisites
Before starting the installation of Temboz on Debian, you need to have certain prerequisites in place. Make sure that you have:
- A running Debian Latest OS
- A non-root user account with sudo privileges
- Java 8 or later installed on the system
- Apache Kafka installed and running
Installation Process
Follow the steps mentioned below to install Temboz on your Debian Latest system:
Step 1: Download Temboz
To install Temboz on Debian Latest, you must first download the package. The easiest method is to use git clone to download the package from the url: https://github.com/fazalmajid/temboz.git:
git clone https://github.com/fazalmajid/temboz.git
Step 2: Build Temboz
After the package is downloaded, navigate to the temboz directory and use maven to build the package:
cd temboz
mvn clean package
Step 3: Install Temboz
After the package is built, navigate to the target directory and copy the jar file to the appropriate location:
cd target
sudo cp temboz-*.jar /usr/local/bin/temboz.jar
Step 4: Configure Temboz
Configure Temboz by creating a temboz.properties file in /etc/temboz directory with the following content:
# kafka broker to bootstrap connection to
producer.broker=<kafka-broker>:9092
# name of the topic to create, alter or delete
topic.name=<topic-name>
# replication factor, default 3
topic.replication.factor=3
# number of partitions, default 1
topic.partitions=1
# boolean flag to enable/disable topic deletion, default false
topic.delete=false
Step 5: Test Temboz
To test Temboz, create a topic using the following command:
sudo java -jar /usr/local/bin/temboz.jar create
You should now see the topic listed on Kafka's server.
Conclusion
Congratulations! You have successfully installed Temboz on Debian Latest. You can now use Temboz's command-line tool to quickly create, alter, and delete Kafka topics.