From: Kai Moritz Date: Fri, 8 Nov 2024 17:24:30 +0000 (+0100) Subject: `README.sh` entfernt X-Git-Tag: producer/spring-producer--auditheaders--vorlage--2024-11-13--si X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fproducer%2Fspring-producer--auditheaders--vorlage;p=demos%2Fkafka%2Ftraining `README.sh` entfernt --- diff --git a/README.sh b/README.sh deleted file mode 100755 index 2ad543e..0000000 --- a/README.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -IMAGE=juplo/spring-producer:1.0-auditheaders-SNAPSHOT - -if [ "$1" = "cleanup" ] -then - docker compose -f docker/docker-compose.yml down -t0 -v --remove-orphans - mvn clean - exit -fi - -docker compose -f docker/docker-compose.yml up -d --remove-orphans kafka-1 kafka-2 kafka-3 -docker compose -f docker/docker-compose.yml rm -svf setup peter ute - -if [[ - $(docker image ls -q $IMAGE) == "" || - "$1" = "build" -]] -then - mvn clean install || exit -else - echo "Using image existing images:" - docker image ls $IMAGE -fi - -docker compose -f docker/docker-compose.yml up --remove-orphans setup || exit 1 - - -docker compose -f docker/docker-compose.yml up -d peter ute -sleep 10 - - -echo -echo "Empfangen:" -docker compose -f docker/docker-compose.yml exec cli kafkacat -b kafka:9092 -t test -e -c 100 - -echo -echo "Empfangen (mit Headern!):" -docker compose -f docker/docker-compose.yml exec cli kafkacat -b kafka:9092 -t test -e -c 100 -J