Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • For example, for 3.7.0 version of kafka, the image name with tagging would be apache/kafka:3.7.0
  • In case of a CVE post 3.7.0, the name of the released image will depend on the section ReleaseProcess
    • apache/kafka:3.7.1 => Docker release along with Apache Kafka minor release
    • apache/kafka:3.7.0-1 => Only docker image release, hence added a suffix

Directory Structure

A new directory named docker will be added to the repository. This directory will contain all the Docker related code.
Directory Structure:

Code Block
kafka/
	- docker/
		- jvm/
			- Dockerfile          #Dockerfile for the JVM-based Apache Kafka Docker image.
		- resources/              #Contains resources needed to create the Docker image.
		- test/                   #Contains sanity tests for the Docker image.
		- docker_build_test.py    #Python script for building and testing the Docker image.
		- docker_release.py       #Python script for building the Docker image and pushing it to Docker Hub.

NOTE: This structure is designed with the anticipation of introducing another Docker image based on the native Apache Kafka Broker (as per KIP-974). Both images will share the same resources for image building. 

Configuring Properties

We offer two methods for passing the above properties to the container:

...