Flat 10% & up to 50% off + Free additional Courses. Hurry up!

Installation Steps

Follow the steps to install a Kafka.

  • Download the link for Kafka source – https://archive.apache.org/dist/Kafka/0.8.0/Kafka-0.8.0-src.tgz and then:
    tar xzf Kafka-0.8.0-src.tgz
  • Enter the directory and run the commands:
    sudo ./sbt update
    sudo ./sbt package
  • To start the Zookeeper server, run (in the directory)
    bin/zookeeper-server-start.sh config.zookeeper.properties
  • Now start the Kafka server, run (in the directory)
    bin/Kafka-server-start.sh config/server.properties
  • Create a Topic of publishing messages,
    bin/Kafka-create-Topic.sh –zookeeper localhost:2181 –replica 1 –partition .
  • 1–Topic test
    (Here we can mention the number of replica instances, partitions and the name of the Topic)
  • Publish-Subscribe some messages by,
    – Run the producer,
    bin/Kafka-console-producer.sh  –broker-list localhost:9092 –Topic test
    Now type down the message we want to send.
    – Later, run the consumer,
    bin/Kafka-console-consumer.sh –zookeeper localhost:2181 –Topic test–from-beginning

Read these Top Trending Kafka Interview Q’s now that helps you grab high-paying jobs !

"0 Responses on Installation Steps"

Leave a Message

Your email address will not be published.

Training in Cities

Bangalore, Hyderabad, Chennai, Delhi, Kolkata, UK, London, Chicago, San Francisco, Dallas, Washington, New York, Orlando, Boston

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.


Sales Offer

  • To avail this offer, enroll before 23rd October 2016.
  • This offer cannot be combined with any other offer.
  • This offer is valid on selected courses only.
  • Please use coupon codes mentioned below to avail the offer


Sign Up or Login to view the Free Installation Steps.