producer.bootstrap-server: kafka:9092
producer.client-id: producer
producer.topic: test
+ producer.batch-size: 16384
+ producer.linger-ms: 5000
+
+ peter:
+ image: juplo/rest-client:1.0-SNAPSHOT
+ ports:
+ - 8081:8080
+ environment:
+ server.port: 8080
+ rest-client.baseUrl: http://producer:8080
+ rest-client.username: peter
+ rest-client.throttle-ms: 1
+
+ klaus:
+ image: juplo/rest-client:1.0-SNAPSHOT
+ ports:
+ - 8082:8080
+ environment:
+ server.port: 8080
+ rest-client.baseUrl: http://producer:8080
+ rest-client.username: klaus
+ rest-client.throttle-ms: 1
+
+ beate:
+ image: juplo/rest-client:1.0-SNAPSHOT
+ ports:
+ - 8083:8080
+ environment:
+ server.port: 8080
+ rest-client.baseUrl: http://producer:8080
+ rest-client.username: beate
+ rest-client.throttle-ms: 1
+
+ franz:
+ image: juplo/rest-client:1.0-SNAPSHOT
+ ports:
+ - 8084:8080
+ environment:
+ server.port: 8080
+ rest-client.baseUrl: http://producer:8080
+ rest-client.username: franz
+ rest-client.throttle-ms: 1
+
+ uschi:
+ image: juplo/rest-client:1.0-SNAPSHOT
+ ports:
+ - 8085:8080
+ environment:
+ server.port: 8080
+ rest-client.baseUrl: http://producer:8080
+ rest-client.username: uschi
+ rest-client.throttle-ms: 1
consumer:
- image: juplo/counting-consumer:1.0-SNAPSHOT
+ image: juplo/endless-consumer:1.0-SNAPSHOT
ports:
- - 8081:8081
+ - 8000:8081
environment:
consumer.bootstrap-server: kafka:9092
consumer.client-id: my-group