O'Reilly logo

Apache Kafka by Nishant Garg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Single node – single broker cluster

This is the starting point of learning Kafka. In the previous chapter, we built and installed Kafka on a single machine. Now it is time to setup single node – single broker based Kafka cluster as shown in the following diagram

Single node – single broker cluster

Starting the ZooKeeper server

Kafka provides the default and simple ZooKeeper configuration file used for launching a single local ZooKeeper instance. Here, ZooKeeper serves as the coordination interface between the Kafka broker and consumers. The Hadoop overview given on the Hadoop Wiki site is as follows (http://wiki.apache.org/hadoop/ZooKeeper/ProjectDescription):

"ZooKeeper ( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required