-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 821 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: '3.9'
services:
kafdrop:
image: obsidiandynamics/kafdrop
restart: 'no'
ports:
- '9000:9000'
environment:
KAFKA_BROKERCONNECT: 'kafka:29092'
depends_on:
- 'kafka'
kafka:
image: obsidiandynamics/kafka
restart: 'no'
ports:
- '2181:2181'
- '9092:9092'
environment:
KAFKA_LISTENERS: 'INTERNAL://:29092,EXTERNAL://:9092'
KAFKA_ADVERTISED_LISTENERS: 'INTERNAL://kafka:29092,EXTERNAL://localhost:9092'
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT'
KAFKA_INTER_BROKER_LISTENER_NAME: 'INTERNAL'
KAFKA_ZOOKEEPER_SESSION_TIMEOUT: '6000'
KAFKA_RESTART_ATTEMPTS: '10'
KAFKA_RESTART_DELAY: '5'
ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: '0'
KAFKAJS_NO_PARTITIONER_WARNING: '1'