Hello, all,

I’m new to Ubuntu, Kafka, and Zookeeper, and this has me puzzled.

From everything I’ve read, Zookeeper is part and parcel to Kafka. However, the tutorial here (https://www.digitalocean.com/community/tutorials/how-to-install-apache-kafka-on-ubuntu-18-04) doesn’t install Zookeeper before installing Kafka. And what’s even crazier is that Kafka works per the tests within the tutorial.

How can this be? What am I missing? Is this some special case and I need to install Zookeeper at this point, or was Zookeeper silently installed somehow? I see Zookeeper-related services in /usr/share that were not mentioned in the tutorial, so that suggests Kafka installed some aspects of Zookeeper. Maybe it installs a barebones version?

Thanks in advance! Any help would be greatly appreciated. I’m an idiot beginner to all this, so apologies if this is all quite stupid.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hey friend,

It looks to me like zookeeper is part of the package downloaded. If you’ve followed the tutorial then you can find the zookeeper startup script at /home/kafka/kafka/bin/zookeeper-server-start.sh. Digging into that may tell you more about what is where.

Jarland

Hey Friends,

zookeeper is in default kafka package. it is used for controlling of data handling. the kafka data network route through only zookeeper daemons.

Submit an Answer