Merge der überarbeiteten Compose-Konfiguration ('stored-state')
authorKai Moritz <kai@juplo.de>
Sat, 23 Jul 2022 13:58:44 +0000 (15:58 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 23 Jul 2022 14:01:01 +0000 (16:01 +0200)
1  2 
README.sh
docker-compose.yml
src/main/java/de/juplo/kafka/EndlessConsumer.java

diff --cc README.sh
Simple merge
@@@ -61,27 -62,17 +62,29 @@@ services
        producer.bootstrap-server: kafka:9092
        producer.client-id: producer
        producer.topic: test
 -      producer.throttle-ms: 10
 +      producer.throttle-ms: 500
  
  
 -  consumer:
 +  peter:
      image: juplo/endless-consumer:1.0-SNAPSHOT
      ports:
-       - 8081:8081
+       - 8081:8080
      environment:
+       server.port: 8080
        consumer.bootstrap-server: kafka:9092
 -      consumer.client-id: consumer
 +      consumer.client-id: peter
 +      consumer.topic: test
 +      spring.data.mongodb.uri: mongodb://juplo:training@mongo:27017
 +      spring.data.mongodb.database: juplo
 +
 +  beate:
 +    image: juplo/endless-consumer:1.0-SNAPSHOT
 +    ports:
-       - 8082:8081
++      - 8082:8080
 +    environment:
++      server.port: 8080
 +      consumer.bootstrap-server: kafka:9092
 +      consumer.client-id: beate
        consumer.topic: test
        spring.data.mongodb.uri: mongodb://juplo:training@mongo:27017
        spring.data.mongodb.database: juplo