Skip to content

Building from Sources

Based on README.md:

KAFKA_VERSION=3.6.1
SCALA_VERSION=2.13
$ java -version
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7)
OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (build 11.0.12+7, mixed mode)
./gradlew clean releaseTarGz install -PskipSigning=true && \
tar -zxvf core/build/distributions/kafka_$SCALA_VERSION-$KAFKA_VERSION.tgz
cd kafka_$SCALA_VERSION-$KAFKA_VERSION
$ ./bin/kafka-server-start.sh --version | tail -1
3.0.0 (Commit:8cb0a5e9d3441962)