]> juplo.de Git - demos/kafka/training/commitdiff
Eigene Version für Livecoding consumer/spring-consumer--livecoding--claude-5
authorKai Moritz <kai@juplo.de>
Wed, 7 May 2025 17:38:03 +0000 (19:38 +0200)
committerKai Moritz <kai.milan.moritz@googlemail.com>
Fri, 29 May 2026 20:32:10 +0000 (20:32 +0000)
README.sh
build.gradle
docker/docker-compose.yml
pom.xml

index 85b8f960a0d7f927ffdc85ad0302ffcea271a54a..731dd4f7da7c662e92016aee0a5d92010803440e 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-IMAGE=juplo/simple-consumer:1.0-SNAPSHOT
+IMAGE=juplo/spring-consumer:1.1-livecoding-SNAPSHOT
 
 if [ "$1" = "cleanup" ]
 then
index f642d020e5f4817f39674c24c5d204b0dcad67f5..8c21c930f093720c037f861ebc39a47a593a39ff 100644 (file)
@@ -7,7 +7,7 @@ plugins {
 }
 
 group = 'de.juplo.kafka'
-version = '1.0-SNAPSHOT'
+version = '1.1-livecoding-SNAPSHOT'
 
 java {
        toolchain {
index 732f8290d0027622f00c290259c5b7969f1f1104..201e23e64d68613ca6e0dd1f44ae3d80666b967e 100644 (file)
@@ -180,8 +180,25 @@ services:
     mem_limit:  100m
 
   consumer:
-    image: juplo/simple-consumer:1.0-SNAPSHOT
-    command: kafka:9092 test my-group consumer
+    image: juplo/spring-consumer:1.1-livecoding-SNAPSHOT
+    environment:
+      juplo.bootstrap-server: kafka:9092
+      juplo.client-id: consumer
+      juplo.consumer.topic: test
+
+  peter:
+    image: juplo/spring-consumer:1.1-livecoding-SNAPSHOT
+    environment:
+      juplo.bootstrap-server: kafka:9092
+      juplo.client-id: peter
+      juplo.consumer.topic: test
+
+  ute:
+    image: juplo/spring-consumer:1.1-livecoding-SNAPSHOT
+    environment:
+      juplo.bootstrap-server: kafka:9092
+      juplo.client-id: ute
+      juplo.consumer.topic: test
 
   peter:
     image: juplo/simple-consumer:1.0-SNAPSHOT
diff --git a/pom.xml b/pom.xml
index 6194b733ada895758d82f0163bd2e09f24c5ec2c..f729b23e17cbd6b80d81360d81d5064d4e29a42c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   </parent>
 
   <groupId>de.juplo.kafka</groupId>
-  <artifactId>simple-consumer</artifactId>
-  <name>Simple Consumer-Group</name>
-  <description>Super Simple Consumer-Group, that is implemented as a plain Java-program</description>
-  <version>1.0-SNAPSHOT</version>
+  <artifactId>spring-consumer</artifactId>
+  <name>Spring Consumer</name>
+  <description>Super Simple Consumer-Group, that is implemented as Spring-Boot application and configured by Spring Kafka</description>
+  <version>1.1-livecoding-SNAPSHOT</version>
 
   <properties>
     <java.version>21</java.version>