4 image: confluentinc/cp-zookeeper:7.5.1
6 ZOOKEEPER_CLIENT_PORT: 2181
10 - zookeeper-data:/var/lib/zookeeper/data
11 - zookeeper-log:/var/lib/zookeeper/log
14 image: confluentinc/cp-kafka:7.5.1
16 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
17 KAFKA_LISTENERS: BROKER://:9092, LOCALHOST://:9081
18 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
19 KAFKA_ADVERTISED_LISTENERS: BROKER://kafka-1:9092, LOCALHOST://localhost:9081
21 KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
22 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
23 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
24 KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
25 KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true"
27 -javaagent:/usr/share/java/cp-base-new/jmx_prometheus_javaagent-0.18.0.jar=0.0.0.0:80:/etc/jmx-exporter.yml
28 -Dcom.sun.management.jmxremote=true
29 -Dcom.sun.management.jmxremote.port=9101
30 -Dcom.sun.management.jmxremote.authenticate=false
32 - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro
33 - kafka-1-data:/var/lib/kafka/data
36 stop_grace_period: 120s
41 image: confluentinc/cp-kafka:7.5.1
43 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
44 KAFKA_LISTENERS: BROKER://:9092, LOCALHOST://:9082
45 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
46 KAFKA_ADVERTISED_LISTENERS: BROKER://kafka-2:9092, LOCALHOST://localhost:9082
48 KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
49 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
50 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
51 KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
52 KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true"
54 -javaagent:/usr/share/java/cp-base-new/jmx_prometheus_javaagent-0.18.0.jar=0.0.0.0:80:/etc/jmx-exporter.yml
55 -Dcom.sun.management.jmxremote=true
56 -Dcom.sun.management.jmxremote.port=9101
57 -Dcom.sun.management.jmxremote.authenticate=false
59 - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro
60 - kafka-2-data:/var/lib/kafka/data
68 stop_grace_period: 120s
73 image: confluentinc/cp-kafka:7.5.1
75 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
76 KAFKA_LISTENERS: BROKER://:9092, LOCALHOST://:9083
77 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
78 KAFKA_ADVERTISED_LISTENERS: BROKER://kafka-3:9092, LOCALHOST://localhost:9083
80 KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
81 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
82 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
83 KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
84 KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true"
86 -javaagent:/usr/share/java/cp-base-new/jmx_prometheus_javaagent-0.18.0.jar=0.0.0.0:80:/etc/jmx-exporter.yml
87 -Dcom.sun.management.jmxremote=true
88 -Dcom.sun.management.jmxremote.port=9101
89 -Dcom.sun.management.jmxremote.authenticate=false
91 - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro
92 - kafka-3-data:/var/lib/kafka/data
95 stop_grace_period: 120s
100 image: confluentinc/cp-schema-registry:7.5.1
102 SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: kafka-1:9092,kafka-2:9092,kafka-3:9092
103 SCHEMA_REGISTRY_HOST_NAME: schema-registry
104 SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:8085
105 SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO
114 image: confluentinc/cp-kafka-connect:7.5.1
116 CONNECT_BOOTSTRAP_SERVERS: kafka-1:9092,kafka-2:9092,kafka-3:9092
117 CONNECT_REST_PORT: 8083
118 CONNECT_REST_LISTENERS: http://0.0.0.0:8083
119 CONNECT_REST_ADVERTISED_HOST_NAME: connect
120 CONNECT_CONFIG_STORAGE_TOPIC: __connect-config
121 CONNECT_OFFSET_STORAGE_TOPIC: __connect-offsets
122 CONNECT_STATUS_STORAGE_TOPIC: __connect-status
123 CONNECT_GROUP_ID: kafka-connect
124 CONNECT_KEY_CONVERTER_SCHEMAS_ENABLE: "true"
125 CONNECT_KEY_CONVERTER: io.confluent.connect.avro.AvroConverter
126 CONNECT_KEY_CONVERTER_SCHEMA_REGISTRY_URL: http://schema-registry:8085
127 CONNECT_VALUE_CONVERTER_SCHEMAS_ENABLE: "true"
128 CONNECT_VALUE_CONVERTER: io.confluent.connect.avro.AvroConverter
129 CONNECT_VALUE_CONVERTER_SCHEMA_REGISTRY_URL: http://schema-registry:8085
130 CONNECT_INTERNAL_KEY_CONVERTER: org.apache.kafka.connect.json.JsonConverter
131 CONNECT_INTERNAL_VALUE_CONVERTER: org.apache.kafka.connect.json.JsonConverter
132 CONNECT_OFFSET_STORAGE_REPLICATION_FACTOR: 1
133 CONNECT_CONFIG_STORAGE_REPLICATION_FACTOR: 1
134 CONNECT_STATUS_STORAGE_REPLICATION_FACTOR: 1
135 CONNECT_PLUGIN_PATH: /usr/share/java/
143 command: sleep infinity
144 stop_grace_period: 0s
156 cub kafka-ready -b kafka-1:9092,kafka-2:9092,kafka-3:9092 3 60 > /dev/null 2>&1 || exit 1
157 if [ -e INITIALIZED ]
159 echo -n Bereits konfiguriert:
161 kafka-topics --bootstrap-server kafka:9092 --describe --topic test
163 kafka-topics --bootstrap-server kafka:9092 \
167 kafka-topics --bootstrap-server kafka:9092 \
171 --replication-factor 3 \
172 --config min.insync.replicas=2 \
173 && echo Das Topic \'test\' wurde erfolgreich angelegt: \
174 && kafka-topics --bootstrap-server kafka:9092 --describe --topic test \
175 && date > INITIALIZED
177 stop_grace_period: 0s
182 image: elkozmon/zoonavigator:1.1.2
187 CONNECTION_JUPLO_NAME: juplo
188 CONNECTION_JUPLO_CONN: zookeeper:2181
189 AUTO_CONNECT_CONNECTION_ID: JUPLO
194 image: factorhouse/kpow-ce
198 BOOTSTRAP: kafka-1:9092,kafka-2:9092,kafka-3:9092
199 CONNECT_REST_URL: http://connect:8083
200 SCHEMA_REGISTRY_URL: http://schema-registry:8085
201 LICENSE_ID: 4373b5f6-7ec2-4d74-a4c7-799f9877766a
202 LICENSE_CODE: KPOW_COMMUNITY
203 LICENSEE: kai@juplo.de
204 LICENSE_EXPIRY: "2024-10-07"
205 LICENSE_SIGNATURE: 4A132D9FA890816B9DB80C29B4F1D67EBD6FABE379841F5AA4BF7E4ED25C080101A1787A518DF4312BE5725F1B0DDF7E0963B3AE33B5BB898B9650762ACB403F437B433A830EA36BA4C3EE265786206D8E8736D2243DAAB559E1AE96ADD67D7AE62953E9F33D7D37ADC29373497113B35C656D0199A6D6727BC762D60665A0FB