In this video we will be installing Kafka server and the zookeeper server. we will then modification to server.properties and zookeeper.properties files so that Kafka server is able to connect to the zookeeper. we will change the below configuration

  • advertised.listeners=PLAINTEXT://[server-ip-address]:9092
  • zookeeper.connect=localhost:2181

Then we will use the below command to start the server
Start Kafka using :

JMX_PORT=8004 bin/kafka-server-start.sh config/server.properties

Start zookeeper using :
bin/zookeeper-server-start.sh config/zookeeper.properties

#kafka

Install Kafka server and zookeeper | Kafka for beginners Part 3
1.65 GEEK