-
Notifications
You must be signed in to change notification settings - Fork 56
Building Apache Kafka
General Notes:
-
When following the steps below please use a standard permission user unless otherwise specified.
-
A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
Starting with version 3.2.0, Apache Kafka binaries include native support for s390x and can be downloaded from here. To use these binaries, Java needs to be installed on mentioned distributions.
Note:
- At the time of creation of these build instructions, Apache Kafka 3.7.1 was verified with JDK 17 version (Temurin-17.0.9+9) and (Semeru-17.0.8.1+1)
-
RHEL (8.8, 8.9, 8.10, 9.2, 9.3, 9.4)
sudo yum install -y tar gzip
- With OpenJDK 17
sudo yum install -y git java-17-openjdk-devel
-
SLES (12 SP5, 15 SP5)
sudo zypper install -y tar gzip
- With OpenJDK 17 (Except SLES 12 SP5)
sudo zypper install -y java-17-openjdk java-17-openjdk-devel
-
Ubuntu (20.04, 22.04, 24.04)
sudo apt-get update sudo apt-get -y install tar gzip
-
With OpenJDK 17
sudo apt-get install -y openjdk-17-jdk
-
With Eclipse Adoptium Temurin JDK (previously known as AdoptOpenJDK hotspot)
- Download and install Eclipse Adoptium Temurin JDK (Java 17) from here.
-
With IBM Semeru JDK (previously known as AdoptOpenJDK openj9)
- Download and Install IBM Semeru JDK (Java 17) from here.
-
export JAVA_HOME=<path to jdk dir>
export PATH=$JAVA_HOME/bin:$PATH
Verify that java is installed correctly by running
java -version
and verify the output is correct for the installed jdk.
Extract the binary tar to /<source_root>/
.
Follow official quickstart guide given here to verify the installation.
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.