3.0.1-debian-10-r27 release

This commit is contained in:
Bitnami Bot
2022-04-18 12:24:09 +00:00
committed by Bitnami Containers
parent cbb0ab1c33
commit 8c2c097ac0
2 changed files with 11 additions and 2 deletions

View File

@@ -653,6 +653,11 @@ zookeeper_get_tls_config() {
# None
#########################
kafka_configure_from_environment_variables() {
# List of special cases to apply to the variables
local -r exception_regexps=(
"s/sasl.ssl/sasl_ssl/g"
"s/sasl.plaintext/sasl_plaintext/g"
)
# Map environment variables to config properties
for var in "${!KAFKA_CFG_@}"; do
key="$(echo "$var" | sed -e 's/^KAFKA_CFG_//g' -e 's/_/\./g' | tr '[:upper:]' '[:lower:]')"
@@ -660,6 +665,11 @@ kafka_configure_from_environment_variables() {
# Exception for the camel case in this environment variable
[[ "$var" == "KAFKA_CFG_ZOOKEEPER_CLIENTCNXNSOCKET" ]] && key="zookeeper.clientCnxnSocket"
# Apply exception regexps
for regex in "${exception_regexps[@]}"; do
key="$(echo "$key" | sed "$regex")"
done
value="${!var}"
kafka_server_conf_set "$key" "$value"
done
@@ -737,7 +747,6 @@ kafka_initialize() {
kafka_configure_external_client_communications "$external_client_protocol"
fi
if [[ "${internal_protocol:-}" =~ "SASL" || "${client_protocol:-}" =~ "SASL" || "${external_client_protocol:-}" =~ "SASL" ]] || [[ "${KAFKA_ZOOKEEPER_PROTOCOL}" =~ SASL ]]; then
if [[ -n "$KAFKA_CFG_SASL_ENABLED_MECHANISMS" ]]; then
kafka_server_conf_set sasl.enabled.mechanisms "$KAFKA_CFG_SASL_ENABLED_MECHANISMS"

View File

@@ -44,7 +44,7 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`3.1`, `3.1-debian-10`, `3.1.0`, `3.1.0-debian-10-r81`, `latest` (3.1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kafka/blob/3.1.0-debian-10-r81/3.1/debian-10/Dockerfile)
* [`3.0`, `3.0-debian-10`, `3.0.1`, `3.0.1-debian-10-r26` (3.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kafka/blob/3.0.1-debian-10-r26/3.0/debian-10/Dockerfile)
* [`3.0`, `3.0-debian-10`, `3.0.1`, `3.0.1-debian-10-r27` (3.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kafka/blob/3.0.1-debian-10-r27/3.0/debian-10/Dockerfile)
* [`2.8`, `2.8-debian-10`, `2.8.1`, `2.8.1-debian-10-r193` (2.8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-kafka/blob/2.8.1-debian-10-r193/2.8/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/kafka GitHub repo](https://github.com/bitnami/bitnami-docker-kafka).