Projekt in `supersimple-consumer` umbenannt
authorKai Moritz <kai@juplo.de>
Fri, 11 Nov 2022 16:21:23 +0000 (17:21 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 11 Nov 2022 16:21:23 +0000 (17:21 +0100)
README.sh
docker-compose.yml
pom.xml

index 69d05ee..e96245a 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-IMAGE=juplo/supersimple:1.0-SNAPSHOT
+IMAGE=juplo/supersimple-consumer:1.0-SNAPSHOT
 
 if [ "$1" = "cleanup" ]
 then
@@ -9,7 +9,7 @@ then
   exit
 fi
 
-docker-compose rm -svf supersimple
+docker-compose rm -svf consumer
 docker-compose up -d zookeeper kafka-1 kafka-2 kafka-3 cli
 
 if [[
@@ -17,7 +17,7 @@ if [[
   "$1" = "build"
 ]]
 then
-  docker-compose rm -svf supersimple
+  docker-compose rm -svf consumer
   mvn clean install || exit
 else
   echo "Using image existing images:"
@@ -27,7 +27,7 @@ fi
 echo "Waiting for the Kafka-Cluster to become ready..."
 docker-compose exec cli cub kafka-ready -b kafka:9092 1 60 > /dev/null 2>&1 || exit 1
 docker-compose up setup
-docker-compose up -d gateway requests-1 requests-2 supersimple
+docker-compose up -d gateway requests-1 requests-2 consumer
 
 while ! [[ $(http 0:8080/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for gateway..."; sleep 1; done
 while ! [[ $(http 0:8081/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for requests-1..."; sleep 1; done
@@ -37,4 +37,4 @@ echo 6 | http -v :8080/peter
 
 sleep 10
 
-docker-compose logs supersimple
+docker-compose logs consumer
index 69e67a2..de4905d 100644 (file)
@@ -103,13 +103,13 @@ services:
       sumup.requests.bootstrap-server: kafka:9092
       sumup.requests.client-id: requests-2
 
-  supersimple:
-    image: juplo/supersimple:1.0-SNAPSHOT
+  consumer:
+    image: juplo/supersimple-consumer:1.0-SNAPSHOT
     ports:
       - 8090:8080
     environment:
       server.port: 8080
       spring.kafka.bootstrap-servers: kafka:9092
       spring.kafka.producer.bootstrap-servers: kafka:9092
-      spring.kafak.client-id: supersimple
+      spring.kafak.client-id: consumer
       logging.level.org.apache.kafka.clients.consumer: INFO
diff --git a/pom.xml b/pom.xml
index 9fa4884..d564d7b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
   </parent>
 
   <groupId>de.juplo.kafka</groupId>
-  <artifactId>supersimple</artifactId>
+  <artifactId>supersimple-consumer</artifactId>
   <version>1.0-SNAPSHOT</version>
   <name>Supersimple Consumer-Group</name>
   <description>Most minimal Consumer-Group ever!</description>