Prepare your Apache Kafka client environment
Install the Apache Kafka binaries on your Unix or Windows client machine.
Avant de commencer
Confirm that you have Java 11.0 or higher installed by running the following command:
java --versionRole required: admin
Procédure
-
Download and install Apache Kafka.
-
Navigate to the parent directory where you extracted the Apache Kafka package.
- For example, on Unix:
cd /home/user/Software - For example, on Windows:
cd C:\Software
- For example, on Unix:
-
Simplify the Apache Kafka directory name by renaming it to kafka.
- For example, on Unix:
mv kafka_2.13-3.2.0 kafka - For example, on Windows:
rename kafka_2.13-3.2.0 kafka
- For example, on Unix:
Résultats
The Apache Kafka client is installed in a simplified directory on your local machine.