Answers for "install kafka ubuntu command line"


install kafka ubuntu command line

sudo apt install default-jre
sudo apt install zookeeperd
sudo adduser --system --no-create-home --disabled-password --disabled-login kafka
cd ~
wget "" #replace the url with the newest release if outdated
sudo mkdir /opt/kafka
sudo tar -xvzf kafka_2.12-1.0.1.tgz --directory /opt/kafka --strip-components 1
sudo mkdir /var/lib/kafka
sudo mkdir /var/lib/kafka/data
sudo chown -R kafka:nogroup /opt/kafka
sudo chown -R kafka:nogroup /var/lib/kafka
sudo systemctl restart kafka
Posted by: Guest on September-26-2021

Code answers related to "install kafka ubuntu command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language