4 image: confluentinc/cp-zookeeper:6.2.0
6 ZOOKEEPER_CLIENT_PORT: 2181
11 image: confluentinc/cp-kafka:6.2.0
14 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
15 KAFKA_LISTENERS: DOCKER://:9092, LOCALHOST://:9082
16 KAFKA_ADVERTISED_LISTENERS: DOCKER://kafka:9092, LOCALHOST://localhost:9082
17 KAFKA_INTER_BROKER_LISTENER_NAME: DOCKER
18 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: DOCKER:PLAINTEXT, LOCALHOST:PLAINTEXT
19 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
20 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
28 image: juplo/wordcount--recorder:1.0.0
30 juplo.wordcount.recorder.bootstrap-server: kafka:9092
31 juplo.wordcount.recorder.topic: recordings
38 image: juplo/wordcount--counter:1.0.0
40 juplo.wordcount.counter.bootstrap-server: kafka:9092
41 juplo.wordcount.counter.application-id: counter
42 juplo.wordcount.counter.input-topic: recordings
43 juplo.wordcount.counter.output-topic: countings
50 image: juplo/wordcount--top10:1.0.0
52 juplo.wordcount.top10.bootstrap-server: kafka:9092
53 juplo.wordcount.top10.application-id: top10
54 juplo.wordcount.top10.input-topic: countings
55 juplo.wordcount.top10.output-topic: top10
62 image: juplo/wordcount--query:1.0.0
64 juplo.wordcount.query.bootstrap-server: kafka:9092
65 juplo.wordcount.query.application-id: query
66 juplo.wordcount.query.ranking-input-topic: top10
73 image: confluentinc/cp-kafka:6.2.0
75 cub kafka-ready -b kafka:9092 1 60 ;
76 kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ;
77 kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic users ;
78 kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic countings ;
79 kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ;
83 image: confluentinc/cp-kafkacat:6.2.0
84 command: sleep infinity