Installing Kafka

Now let us see what steps need to be followed in order to install Kafka:

Downloading Kafka

Perform the following steps for downloading Kafka release 0.7.x:

  1. Download the current stable version of Kafka (0.7.2) into a folder on your file system (for example, /opt) using the following command:
    [root@localhost opt]#wget https://www.apache.org/dyn/closer.cgi/incubator/kafka/kafka-0.7.2-incubating/kafka-0.7.2-incubating-src.tgz  
  2. Extract the downloaded kafka-0.7.2-incubating-src.tgz using the following command:
    [root@localhost opt]# tar xzf kafka-0.7.2-incubating-src.tgz

Perform the following steps for downloading Kafka release 0.8:

  1. Download the current beta release of Kafka (0.8) into a folder on your filesystem (for example, ...

Get Apache Kafka now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.