Update kafka sample config to Kafka 3.0.0
@@ -14,11 +14,13 @@ services:
depends_on:
- kafka
zookeeper:
- image: wurstmeister/zookeeper
+ image: 'bitnami/zookeeper:latest'
ports:
- - "2181:2181"
+ - '2181:2181'
+ environment:
+ - ALLOW_ANONYMOUS_LOGIN=yes
kafka:
- image: wurstmeister/kafka:0.11.0.0
+ image: bitnami/kafka:3.0.0
ports:
- "9092:9092"
depends_on:
@@ -27,18 +29,18 @@ services:
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_CREATE_TOPICS: "ache-data:1:1"
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+ ALLOW_PLAINTEXT_LISTENER: yes
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- kafka-manager:
- image: sheepkiller/kafka-manager:latest
+ kafka-ui:
+ image: provectuslabs/kafka-ui:latest
ports:
- - "9000:9000"
+ - "8081:8080"
depends_on:
- kafka
links:
- zookeeper
- kafka
environment:
- ZK_HOSTS: zookeeper:2181
- APPLICATION_SECRET: letmein
- KM_ARGS: -Djava.net.preferIPv4Stack=true
+ KAFKA_CLUSTERS_0_NAME: kafka
+ KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:9092
