image: juplo/toolbox
command: sleep infinity
- producer:
+ acks-all:
image: juplo/rest-producer:1.0-SNAPSHOT
ports:
- - 8080:8880
+ - 8082:8080
environment:
producer.bootstrap-server: kafka:9092
- producer.client-id: producer
+ producer.client-id: acks-all
producer.topic: test
- - 8081:8080
+ producer.acks: all
+
+ acks-1:
+ image: juplo/rest-producer:1.0-SNAPSHOT
+ ports:
++ - 8081:8880
+ environment:
+ producer.bootstrap-server: kafka:9092
+ producer.client-id: acks-1
+ producer.topic: test
+ producer.acks: 1
consumer:
image: juplo/endless-consumer:1.0-SNAPSHOT