From: Kai Moritz Date: Fri, 8 Apr 2022 11:09:54 +0000 (+0200) Subject: Merge branch 'rest-producer' into customized X-Git-Tag: customized---lvm-2-tage~3 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=b7f630330543c96b4cfca19870f6aded03588e01;p=demos%2Fkafka%2Ftraining Merge branch 'rest-producer' into customized --- b7f630330543c96b4cfca19870f6aded03588e01 diff --cc docker-compose.yml index 6993f6c,1aff5f2..faf854d --- a/docker-compose.yml +++ b/docker-compose.yml @@@ -54,45 -44,9 +54,45 @@@ services producer.bootstrap-server: kafka:9092 producer.client-id: producer producer.topic: test + producer.partition: 1 + + peter: + image: juplo/rest-client:1.0-SNAPSHOT + environment: + rest-client.baseUrl: http://producer-1:8080 + rest-client.username: peter + rest-client.throttle-ms: 1000 + + klaus: + image: juplo/rest-client:1.0-SNAPSHOT + environment: + rest-client.baseUrl: http://producer-1:8080 + rest-client.username: klaus + rest-client.throttle-ms: 1100 + + beate: + image: juplo/rest-client:1.0-SNAPSHOT + environment: + rest-client.baseUrl: http://producer-0:8080 + rest-client.username: beate + rest-client.throttle-ms: 900 + + franz: + image: juplo/rest-client:1.0-SNAPSHOT + environment: + rest-client.baseUrl: http://producer-1:8080 + rest-client.username: franz + rest-client.throttle-ms: 800 + + uschi: + image: juplo/rest-client:1.0-SNAPSHOT + environment: + rest-client.baseUrl: http://producer-0:8080 + rest-client.username: uschi + rest-client.throttle-ms: 1200 consumer: - image: juplo/counting-consumer:1.0-SNAPSHOT + image: juplo/endless-consumer:1.0-SNAPSHOT ports: - 8081:8081 environment: