- Download the Kafka binaries from the following link, using the command:
wget http://redrockdigimark.com/apachemirror/kafka/0.10.1.1/kafka_2.11-0.10.1.1.tgz
- Change the directory to a user directory, where we will want to extract the contents of the Kafka tarball using the following command. Let us refer the extracted KAFKA directory as ${KAFKA_HOME}:
tar -xzvf ${DOWNLOAD_DIRECTORY}/kafka_2.11-0.10.1.1.tgz
- Set KAFKA_HOME as environment variable using the following commands and add the same into ~/.bashrc:
export KAFKA_HOME=<PATH to KAFKA Directory>export PATH=$PATH:$KAFKA_HOME/bin
- Change the directory into the extracted Kafka folder, that is, ${KAFKA_HOME}, and run the following command to start the Kafka server: ...