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