1.

How do you start a Kafka server?

Answer»

FIRSTLY, we extract Kafka once we have downloaded the most recent version. We MUST make sure that our local environment has JAVA 8+ installed in order to run Kafka.

The following commands must be done in order to start the Kafka server and ensure that all services are started in the correct order:

  • Start the ZooKeeper service by doing the following:
$bin/zookeeper-server-start.sh config/zookeeper.properties
  • To start the Kafka BROKER service, OPEN a new terminal and type the following commands:
$ bin/kafka-server-start.sh config/server.properties


Discussion

No Comment Found