[bitnami/kafka] Release 3.5.2-debian-12-r12 (#64018)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2024-03-22 14:26:33 +01:00 committed by GitHub
parent d09ba80915
commit cb759a0876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 16 additions and 10 deletions

View File

@ -8,10 +8,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-02-21T11:57:20Z" \
org.opencontainers.image.created="2024-03-22T12:58:48Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.5.2-debian-12-r11" \
org.opencontainers.image.ref.name="3.5.2-debian-12-r12" \
org.opencontainers.image.title="kafka" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.5.2"
@ -27,8 +27,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"wait-for-port-1.0.7-8-linux-${OS_ARCH}-debian-12" \
"render-template-1.0.6-9-linux-${OS_ARCH}-debian-12" \
"wait-for-port-1.0.7-10-linux-${OS_ARCH}-debian-12" \
"render-template-1.0.6-10-linux-${OS_ARCH}-debian-12" \
"java-17.0.10-13-2-linux-${OS_ARCH}-debian-12" \
"kafka-3.5.2-3-linux-${OS_ARCH}-debian-12" \
) ; \

View File

@ -15,12 +15,12 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.0.6-9"
"version": "1.0.6-10"
},
"wait-for-port": {
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.0.7-8"
"version": "1.0.7-10"
}
}

View File

@ -48,6 +48,7 @@ print_image_welcome_page() {
info "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}"
info "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}"
info "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}"
info "Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit ${BOLD}https://bitnami.com/enterprise${RESET}"
info ""
}

View File

@ -17,7 +17,7 @@ set -o pipefail
. /opt/bitnami/scripts/kafka-env.sh
if [[ -f "${KAFKA_CONF_DIR}/kafka_jaas.conf" ]]; then
export KAFKA_OPTS="-Djava.security.auth.login.config=${KAFKA_CONF_DIR}/kafka_jaas.conf"
export KAFKA_OPTS="${KAFKA_OPTS:-} -Djava.security.auth.login.config=${KAFKA_CONF_DIR}/kafka_jaas.conf"
fi
cmd="$KAFKA_HOME/bin/kafka-server-start.sh"

View File

@ -816,8 +816,7 @@ kafka_configure_from_environment_variables() {
done
value="${!var}"
# Skip empty variables from kafka-env.sh
! is_empty_value "$value" && kafka_server_conf_set "$key" "$value"
kafka_server_conf_set "$key" "$value"
done
}
@ -1002,9 +1001,15 @@ kafka_initialize() {
kafka_producer_consumer_conf_set security.protocol "$protocol"
kafka_producer_consumer_conf_set sasl.mechanism "${KAFKA_CLIENT_SASL_MECHANISM:-$(kafka_client_sasl_mechanism)}"
fi
kafka_configure_server_jaas "$listener_lower" "${role:-}"
# Configure inline listener jaas configuration, omitted if mounted JAAS conf file detected
if [[ ! -f "${KAFKA_CONF_DIR}/kafka_jaas.conf" ]]; then
kafka_configure_server_jaas "$listener_lower" "${role:-}"
fi
fi
done
# Configure Kafka using environment variables
# This is executed at the end, to allow users to override properties set by the initialization logic
kafka_configure_from_environment_variables
else
info "Detected mounted server.properties file at ${KAFKA_MOUNTED_CONF_DIR}/server.properties. Skipping configuration based on env variables"
fi