Kafka requires Zookeeper, but the 'Installing Kafka' tutorial doesn't install Zookeeper. Then Kafka magically works anyway? What? How?

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 ( 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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

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/ Digging into that may tell you more about what is where.