Merge der überarbeiteten Compose-Konfiguration ('endless-stream-producer') setup-partitionierung
authorKai Moritz <kai@juplo.de>
Sat, 23 Jul 2022 10:13:05 +0000 (12:13 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 23 Jul 2022 10:19:41 +0000 (12:19 +0200)
1  2 
docker-compose.yml

@@@ -39,20 -39,10 +39,22 @@@ services
    producer:
      image: juplo/endless-producer:1.0-SNAPSHOT
      ports:
 -      - 8080:8080
 +      - 8000:8080
      environment:
+       server.port: 8080
        producer.bootstrap-server: kafka:9092
        producer.client-id: producer
        producer.topic: test
 -      producer.throttle-ms: 200
 +      producer.throttle-ms: 10
 +
 +
 +  consumer:
 +    image: juplo/counting-consumer:1.0-SNAPSHOT
 +    ports:
-       - 8081:8081
++      - 8081:8080
 +    environment:
++      server.port: 8080
 +      consumer.bootstrap-server: kafka:9092
 +      consumer.client-id: my-group
 +      consumer.client-id: consumer
 +      consumer.topic: test