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