From: Kai Moritz Date: Fri, 13 Oct 2023 08:17:23 +0000 (+0200) Subject: Grace-Period für Broker und cli/setup gesetzt X-Git-Tag: grundlagen/docker---2023-10-signal~7 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=a3f1f813c30f55ec9c7ea13bb55701d5c93e760c;p=demos%2Fkafka%2Ftraining Grace-Period für Broker und cli/setup gesetzt --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 2991f81..1ae9e2d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -25,6 +25,7 @@ services: - kafka-1-data:/var/lib/kafka/data ports: - 9081:9081 + stop_grace_period: 120s depends_on: - zookeeper @@ -48,6 +49,7 @@ services: default: aliases: - kafka + stop_grace_period: 120s depends_on: - zookeeper @@ -66,6 +68,7 @@ services: - kafka-3-data:/var/lib/kafka/data ports: - 9083:9083 + stop_grace_period: 120s depends_on: - zookeeper @@ -137,6 +140,7 @@ services: && kafka-topics --bootstrap-server kafka:9092 --describe --topic test \ && date > INITIALIZED fi + stop_grace_period: 0s depends_on: - kafka-1 - kafka-2 @@ -166,6 +170,7 @@ services: cli: image: juplo/toolbox command: sleep infinity + stop_grace_period: 0s depends_on: - setup