services:
zookeeper:
- image: "confluentinc/cp-zookeeper:latest"
+ image: confluentinc/cp-zookeeper:6.0.1
ports:
- 2181:2181
environment:
ZOOKEEPER_CLIENT_PORT: 2181
kafka:
- image: confluentinc/cp-kafka:latest
+ image: confluentinc/cp-kafka:6.0.1
ports:
- 9092:9092
environment:
depends_on:
- zookeeper
+ kafkacat:
+ image: confluentinc/cp-kafkacat:6.0.1
+ command: "kafkacat -C -b kafka:9093 -t outbox -K:"
+ tty: true
+ depends_on:
+ - kafka
+
jdbc:
- image: jdbc:latest
+ image: juplo/jdbc:outbox
ports:
- 8080:8080
environment:
- spring.profiles.active: production
+ spring.profiles.active: prod
depends_on:
- postgres
outbox:
- image: polling-outbox:latest
+ image: juplo/outbox:polling
environment:
spring.profiles.active: prod
+ logging.level.de.juplo.kafka.outbox: DEBUG
depends_on:
- postgres
- kafka