projects
/
demos
/
kafka
/
monitoring
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
TMP
[demos/kafka/monitoring]
/
docker-compose.yml
1
version: '3'
2
3
services:
4
zookeeper:
5
image: bitnami/zookeeper:latest
6
ports:
7
- "2181:2181"
8
environment:
9
ZOO_ENABLE_AUTH: "yes"
10
ZOO_SERVER_USERS: user:password
11
12
kafka:
13
image: bitnami/kafka:latest
14
depends_on:
15
- zookeeper
16
ports:
17
- "9092:9092"
18
environment:
19
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
20
ALLOW_PLAINTEXT_LISTENER: "yes"
21
22
kafka_exporter:
23
image: danielqsj/kafka-exporter
24
ports:
25
- "9308:9308"
26
environment:
27
KAFKA_SERVER: kafka:9092