image: juplo/simple-producer:1.0-SNAPSHOT
command: kafka:9092 test producer
- consumer-1:
+ consumer:
image: juplo/simple-consumer:1.0-SNAPSHOT
- command: kafka:9092 test my-group consumer-1
+ command: kafka:9092 test my-group consumer
- consumer-2:
+ peter:
image: juplo/simple-consumer:1.0-SNAPSHOT
- command: kafka:9092 test my-group consumer-2
+ command: kafka:9092 test my-group peter
- consumer-3:
+ ute:
image: juplo/simple-consumer:1.0-SNAPSHOT
- command: kafka:9092 test my-group consumer-3
+ command: kafka:9092 test my-group ute
volumes:
zookeeper-data: