FreeKB - Kafka Start Stop Restart Kafka
Kafka - Start Stop Restart Kafka

This assumes you have installed Kafka. Let's say Kafka was installed at /opt/kafka_<version>. First, start the zookeeper server. Open another Terminal, and issue the below command to start or stop the Kafka server.

bash /opt/kafka_<version>/bin/zookeeper-server-start.sh /opt/kafka_<version>/config/zookeeper.properties &

 


Start Kafka Server

bash /opt/kafka_<version>/bin/kafka-server-start.sh /opt/kafka_<version>/config/server.properties &

 


Stop Kafka Server

bash /opt/kafka_<version>/bin/kafka-server-stop.sh /opt/kafka_<version>/config/server.properties &


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 7a1c4 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |