Tuesday 19 May 2015

Apache Kafka installation with Zookeeper

For Video Reference 



Step 1: Download  Zookeeper , Kafka and JDK 1.7



Step 2: Untar the zookeeper 

Step 3: Start the Zookeeper (find the command from the below picture and give jsp to check the daemon)

Step 4: Download Install kafka


Step 5: Start the kafka 
bin/kafka-server-start.sh config/server.properties

You can see the log like this 


Step 6: Now give jps to check both the Zookeeper and kafka daemon is up and running.



Step 7: Create a new Topic "demo" and list all the topics.


Step 8: Start the console producer to produce (send) some message 


Step 9:  Start the console consumer to consume (receive) some message