Obtaining Kafka
- Compile Kafka source code to generate the Kafka archive. For details, see Kafka Porting Guide (CentOS & openEuler).
- Place the Kafka archive to the /usr/local directory on agent1 and decompress it.
1 2
mv kafka_2.11-2.2.0.tgz /usr/local tar -zxvf kafka_2.11-2.2.0.tgz
If the archive name is not kafka_2.11-2.2.0.tgz, replace it with the actual one.
- Create a soft link for subsequent version updates.
1ln -s kafka_2.11-2.2.0 kafka
If the software directory name is not kafka_2.11-2.2.0, replace it with the actual one.
Parent topic: Deploying Kafka