Docker¶
JVM Based Apache Kafka Docker Image¶
Docker is a popular container runtime. Docker images for the JVM based Apache Kafka can be found on Docker Hub and are available from version 3.7.0.
Docker image can be pulled from Docker Hub using the following command:
If you want to fetch the latest version of the Docker image use following command:
To start the Kafka container using this Docker image with default configs and on default port 9092:
GraalVM Based Native Apache Kafka Docker Image¶
Docker images for the GraalVM Based Native Apache Kafka can be found on Docker Hub and are available from version 3.8.0.
NOTE: This image is experimental and intended for local development and testing purposes only; it is not recommended for production use.
Docker image can be pulled from Docker Hub using the following command:
If you want to fetch the latest version of the Docker image use following command:
To start the Kafka container using this Docker image with default configs and on default port 9092:
Usage guide¶
Detailed instructions for using the Docker image are mentioned here.