services:
- zookeeper:
- image: confluentinc/cp-zookeeper:7.5.1
- environment:
- ZOOKEEPER_CLIENT_PORT: 2181
- ports:
- - 2181:2181
- volumes:
- - zookeeper-data:/var/lib/zookeeper/data
- - zookeeper-log:/var/lib/zookeeper/log
kafka:
image: confluentinc/cp-kafka:7.5.1
environment:
- KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
- KAFKA_LISTENERS: BROKER://:9092, LOCALHOST://:9082
- KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
+ KAFKA_LISTENERS: CONTROLLER://:9072, BROKER://:9092, LOCALHOST://:9082
+ KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT, BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
KAFKA_ADVERTISED_LISTENERS: BROKER://kafka:9092, LOCALHOST://localhost:9082
- KAFKA_BROKER_ID: 1
+ KAFKA_NODE_ID: 1
KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
+ KAFKA_PROCESS_ROLES: broker, controller
+ KAFKA_CONTROLLER_QUORUM_VOTERS: 1@kafka:9072
+ KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
+ CLUSTER_ID: MkU3OEVBNTcwNTJENDM2Qk
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
- 9092:9082
- 9082:9082
stop_grace_period: 120s
- depends_on:
- - zookeeper
schema-registry:
image: confluentinc/cp-schema-registry:7.5.1
- connect
- minio
- zoonavigator:
- image: elkozmon/zoonavigator:1.1.2
- ports:
- - "8000:80"
- environment:
- HTTP_PORT: 80
- CONNECTION_JUPLO_NAME: juplo
- CONNECTION_JUPLO_CONN: zookeeper:2181
- AUTO_CONNECT_CONNECTION_ID: JUPLO
- depends_on:
- - zookeeper
-
akhq:
image: tchiotludo/akhq:0.23.0
ports:
command: server /data --console-address ":9001"
volumes:
- zookeeper-data:
- zookeeper-log:
kafka-data:
minio: