Setup auf den Producer aus `producer/spring-producer` umgestellt
authorKai Moritz <kai@juplo.de>
Mon, 28 Oct 2024 09:12:15 +0000 (10:12 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 2 Nov 2024 08:43:13 +0000 (09:43 +0100)
docker/docker-compose.yml

index 45fd38f..7bfb5fe 100644 (file)
@@ -207,8 +207,11 @@ services:
       - kafka-3
 
   producer:
-    image: juplo/simple-producer:1.0-SNAPSHOT
-    command: kafka:9092 test producer
+    image: juplo/spring-producer:1.0-SNAPSHOT
+    environment:
+      juplo.bootstrap-server: kafka:9092
+      juplo.client-id: producer
+      juplo.producer.topic: test
 
   consumer:
     image: juplo/spring-consumer:1.1-SNAPSHOT