From 9820b9fe4a25f55c7b108e9e12cb35af2bf3a654 Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Wed, 7 Aug 2024 13:36:20 +0200 Subject: [PATCH] chore: remove unnecessary start command since Kraft mode is now the default in Kafka --- config/kafka/update_run.sh | 11 ----------- docker-compose.yml | 4 +--- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100755 config/kafka/update_run.sh diff --git a/config/kafka/update_run.sh b/config/kafka/update_run.sh deleted file mode 100755 index 18de790e56..0000000000 --- a/config/kafka/update_run.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Docker workaround: Remove check for KAFKA_ZOOKEEPER_CONNECT parameter -sed -i '/KAFKA_ZOOKEEPER_CONNECT/d' /etc/confluent/docker/configure - -# Docker workaround: Ignore cub zk-ready -sed -i 's/cub zk-ready/echo ignore zk-ready/' /etc/confluent/docker/ensure - -# KRaft required step: Format the storage directory with a new cluster ID -echo "kafka-storage format --ignore-formatted -t $(kafka-storage random-uuid) -c /etc/kafka/kafka.properties" >> /etc/confluent/docker/ensure - diff --git a/docker-compose.yml b/docker-compose.yml index cdea126e75..1511dd8746 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,9 +18,7 @@ services: KAFKA_INTER_BROKER_LISTENER_NAME: 'PLAINTEXT' KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER' KAFKA_LOG4J_ROOT_LOGLEVEL: INFO - volumes: - - ./config/kafka/update_run.sh:/tmp/update_run.sh - command: "bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \"ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'" + CLUSTER_ID: ZGE2MTQ4NDk4NGU3NDE2Mm postgres: image: stellio/stellio-timescale-postgis:16-2.16.0-3.3 container_name: stellio-postgres