Prepare your Apache Kafka client environment

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • 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 --version

    Role required: admin

    Procédure

    1. Download and install Apache Kafka.
      1. Download the Apache Kafka binaries.
        Ensure that you download the binaries, not the source code, from the Apache Kafka website.
      2. Unzip the Apache Kafka package.
        For example:
        tar -zxvf kafka_2.13-3.2.0.tgz
    2. 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
    3. 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

    Résultats

    The Apache Kafka client is installed in a simplified directory on your local machine.

    Que faire ensuite

    Create a test topic in Hermes using the Kafka client