Merge der überarbeiteten Compose-Konfiguration ('setup-acks')
authorKai Moritz <kai@juplo.de>
Sat, 23 Jul 2022 09:44:41 +0000 (11:44 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 23 Jul 2022 09:44:41 +0000 (11:44 +0200)
1  2 
docker-compose.yml

@@@ -73,31 -73,22 +73,34 @@@ services
      image: juplo/toolbox
      command: sleep infinity
  
 -  producer:
 +  acks-all:
      image: juplo/rest-producer:1.0-SNAPSHOT
      ports:
 -      - 8080:8080
 +      - 8082:8080
      environment:
+       server.port: 8080
        producer.bootstrap-server: kafka:9092
 -      producer.client-id: producer
 +      producer.client-id: acks-all
        producer.topic: test
-       - 8081:8880
 +      producer.acks: all
 +
 +  acks-1:
 +    image: juplo/rest-producer:1.0-SNAPSHOT
 +    ports:
++      - 8081:8080
 +    environment:
++      server.port: 8080
 +      producer.bootstrap-server: kafka:9092
 +      producer.client-id: acks-1
 +      producer.topic: test
 +      producer.acks: 1
  
    consumer:
      image: juplo/endless-consumer:1.0-SNAPSHOT
      ports:
-       - 8000:8081
 -      - 8081:8080
++      - 8000:8080
      environment:
+       server.port: 8080
        consumer.bootstrap-server: kafka:9092
        consumer.client-id: my-group
        consumer.client-id: consumer