Skip to content

Commit

Permalink
Updated cluster id argument for kafka-storage.sh call
Browse files Browse the repository at this point in the history
Signed-off-by: arushi315 <arushi315@gmail.com>
  • Loading branch information
arushi315 committed Jul 17, 2024
1 parent 349673a commit f38c3c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bitnami/kafka/3.7/debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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-07-06T07:26:17Z" \
org.opencontainers.image.created="2024-07-17T14:40:03Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/kafka/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
Expand All @@ -32,7 +32,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
"wait-for-port-1.0.8-2-linux-${OS_ARCH}-debian-12" \
"render-template-1.0.7-2-linux-${OS_ARCH}-debian-12" \
"java-17.0.11-12-0-linux-${OS_ARCH}-debian-12" \
"kafka-3.7.1-0-linux-${OS_ARCH}-debian-12" \
"kafka-3.7.1-1-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "3.7.1-0"
"version": "3.7.1-1"
},
"render-template": {
"arch": "amd64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ kafka_kraft_storage_initialize() {
KAFKA_KRAFT_CLUSTER_ID="$("${KAFKA_HOME}/bin/kafka-storage.sh" random-uuid)"
info "Generated Kafka cluster ID '${KAFKA_KRAFT_CLUSTER_ID}'"
fi
args+=("--cluster-id" "$KAFKA_KRAFT_CLUSTER_ID")
args+=("--cluster-id=$KAFKA_KRAFT_CLUSTER_ID")

# SCRAM users are configured during the cluster bootstrapping process and can later be manually updated using kafka-config.sh
if is_boolean_yes "${KAFKA_KRAFT_BOOTSTRAP_SCRAM_USERS:-}"; then
Expand Down

0 comments on commit f38c3c1

Please sign in to comment.