11# This is a compose file designed for arm64/Apple Silicon systems
2- # To adapt this to x86 please find and replace "" with empty
2+ # To adapt this to x86 please find and replace ".arm64 " with empty
33
44# ARM64 supported images for kafka can be found here
55# https://hub.docker.com/r/confluentinc/cp-kafka/tags?page=1&name=arm64
@@ -9,37 +9,36 @@ name: "kafbat-ui-dev"
99
1010services :
1111
12- # kafbat-ui:
13- # container_name: kafbat-ui
14- # image: ghcr.io/kafbat/kafka-ui:latest
15- # ports:
16- # - 8080:8080
17- # depends_on:
18- # - kafka0
19- # - schema-registry0
20- # - kafka-connect0
21- # - ksqldb0
22- # environment:
23- # KAFKA_CLUSTERS_0_NAME: local
24- # KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka0:29092
25- # KAFKA_CLUSTERS_0_METRICS_PORT: 9997
26- # KAFKA_CLUSTERS_0_SCHEMAREGISTRY: http://schema-registry0:8085
27- # KAFKA_CLUSTERS_0_KAFKACONNECT_0_NAME: first
28- # KAFKA_CLUSTERS_0_KAFKACONNECT_0_ADDRESS: http://kafka-connect0:8083
29- # KAFKA_CLUSTERS_0_KSQLDBSERVER: http://ksqldb0:8088
30- # DYNAMIC_CONFIG_ENABLED: 'true'
31- # KAFKA_CLUSTERS_0_AUDIT_TOPICAUDITENABLED: 'true'
32- # KAFKA_CLUSTERS_0_AUDIT_CONSOLEAUDITENABLED: 'true'
12+ kafbat-ui :
13+ container_name : kafbat-ui
14+ image : ghcr.io/kafbat/kafka-ui:latest
15+ ports :
16+ - 8080:8080
17+ depends_on :
18+ - kafka0
19+ - schema-registry0
20+ - kafka-connect0
21+ - ksqldb0
22+ environment :
23+ KAFKA_CLUSTERS_0_NAME : local
24+ KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS : kafka0:29092
25+ KAFKA_CLUSTERS_0_METRICS_PORT : 9997
26+ KAFKA_CLUSTERS_0_SCHEMAREGISTRY : http://schema-registry0:8085
27+ KAFKA_CLUSTERS_0_KAFKACONNECT_0_NAME : first
28+ KAFKA_CLUSTERS_0_KAFKACONNECT_0_ADDRESS : http://kafka-connect0:8083
29+ KAFKA_CLUSTERS_0_KSQLDBSERVER : http://ksqldb0:8088
30+ DYNAMIC_CONFIG_ENABLED : ' true'
31+ KAFKA_CLUSTERS_0_AUDIT_TOPICAUDITENABLED : ' true'
32+ KAFKA_CLUSTERS_0_AUDIT_CONSOLEAUDITENABLED : ' true'
3333
3434 kafka0 :
35- image : confluentinc/cp-kafka:7.6.0
35+ image : confluentinc/cp-kafka:7.6.0.arm64
3636 user : " 0:0"
3737 hostname : kafka0
3838 container_name : kafka0
3939 ports :
4040 - 9092:9092
4141 - 9997:9997
42- - 29092:29092
4342 environment :
4443 KAFKA_BROKER_ID : 1
4544 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP : PLAINTEXT:PLAINTEXT,CONTROLLER:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
@@ -56,12 +55,12 @@ services:
5655 KAFKA_CONTROLLER_LISTENER_NAMES : ' CONTROLLER'
5756 KAFKA_LOG_DIRS : ' /tmp/kraft-combined-logs'
5857 KAFKA_JMX_PORT : 9997
59- KAFKA_JMX_HOSTNAME : localhost # uncomment this line and comment the next one if running with kafka-ui as a jar
58+ # KAFKA_JMX_HOSTNAME: localhost # uncomment this line and comment the next one if running with kafka-ui as a jar
6059 KAFKA_JMX_OPTS : -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka0 -Dcom.sun.management.jmxremote.rmi.port=9997
6160 CLUSTER_ID : ' MkU3OEVBNTcwNTJENDM2Qk'
6261
6362 schema-registry0 :
64- image : confluentinc/cp-schema-registry:7.6.0
63+ image : confluentinc/cp-schema-registry:7.6.0.arm64
6564 ports :
6665 - 8085:8085
6766 depends_on :
@@ -77,7 +76,7 @@ services:
7776 SCHEMA_REGISTRY_KAFKASTORE_TOPIC : _schemas
7877
7978 kafka-connect0 :
80- image : confluentinc/cp-kafka-connect:7.6.0
79+ image : confluentinc/cp-kafka-connect:7.6.0.arm64
8180 ports :
8281 - 8083:8083
8382 depends_on :
@@ -102,7 +101,7 @@ services:
102101 CONNECT_PLUGIN_PATH : " /usr/share/java,/usr/share/confluent-hub-components,/usr/local/share/kafka/plugins,/usr/share/filestream-connectors"
103102
104103 ksqldb0 :
105- image : confluentinc/cp-ksqldb-server:7.6.0
104+ image : confluentinc/cp-ksqldb-server:7.6.0.arm64
106105 depends_on :
107106 - kafka0
108107 - kafka-connect0
@@ -120,7 +119,7 @@ services:
120119 KSQL_CACHE_MAX_BYTES_BUFFERING : 0
121120
122121 kafka-init-topics :
123- image : confluentinc/cp-kafka:7.6.0
122+ image : confluentinc/cp-kafka:7.6.0.arm64
124123 volumes :
125124 - ../documentation/compose/data/message.json:/data/message.json
126125 depends_on :
0 commit comments