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"
31 kafka-topics --bootstrap-server kafka:9092 --delete --if-exists --topic test
32 kafka-topics --bootstrap-server kafka:9092 --create --topic test --partitions 2
37 command: sleep infinity
40 image: juplo/rest-producer:1.0-SNAPSHOT
44 producer.bootstrap-server: kafka:9092
45 producer.client-id: producer
49 image: juplo/rest-client:1.0-SNAPSHOT
54 rest-client.baseUrl: http://producer:8080
55 rest-client.username: peter
56 rest-client.throttle-ms: 1000
59 image: juplo/rest-client:1.0-SNAPSHOT
64 rest-client.baseUrl: http://producer:8080
65 rest-client.username: klaus
66 rest-client.throttle-ms: 1100
69 image: juplo/rest-client:1.0-SNAPSHOT
74 rest-client.baseUrl: http://producer:8080
75 rest-client.username: beate
76 rest-client.throttle-ms: 900
79 image: juplo/rest-client:1.0-SNAPSHOT
84 rest-client.baseUrl: http://producer:8080
85 rest-client.username: franz
86 rest-client.throttle-ms: 800
89 image: juplo/rest-client:1.0-SNAPSHOT
94 rest-client.baseUrl: http://producer:8080
95 rest-client.username: uschi
96 rest-client.throttle-ms: 1200
99 image: juplo/counting-consumer:1.0-SNAPSHOT
103 consumer.bootstrap-server: kafka:9092
104 consumer.client-id: my-group
105 consumer.client-id: consumer