4 image: confluentinc/cp-zookeeper:7.1.3
6 ZOOKEEPER_CLIENT_PORT: 2181
11 image: confluentinc/cp-kafka:7.1.3
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 1
37 command: sleep infinity
40 image: juplo/rest-producer:1.0-SNAPSHOT
45 producer.bootstrap-server: kafka:9092
46 producer.client-id: producer
48 producer.batch-size: 16384
49 producer.linger-ms: 5000
52 image: juplo/rest-client:1.0-SNAPSHOT
57 rest-client.baseUrl: http://producer:8080
58 rest-client.username: peter
59 rest-client.throttle-ms: 1
62 image: juplo/rest-client:1.0-SNAPSHOT
67 rest-client.baseUrl: http://producer:8080
68 rest-client.username: klaus
69 rest-client.throttle-ms: 1
72 image: juplo/rest-client:1.0-SNAPSHOT
77 rest-client.baseUrl: http://producer:8080
78 rest-client.username: beate
79 rest-client.throttle-ms: 1
82 image: juplo/rest-client:1.0-SNAPSHOT
87 rest-client.baseUrl: http://producer:8080
88 rest-client.username: franz
89 rest-client.throttle-ms: 1
92 image: juplo/rest-client:1.0-SNAPSHOT
97 rest-client.baseUrl: http://producer:8080
98 rest-client.username: uschi
99 rest-client.throttle-ms: 1
102 image: juplo/endless-consumer:1.0-SNAPSHOT
107 consumer.bootstrap-server: kafka:9092
108 consumer.client-id: my-group
109 consumer.client-id: consumer