forked from debezium/debezium-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-zookeeperless-kafka-combined.yaml
60 lines (60 loc) · 1.58 KB
/
docker-compose-zookeeperless-kafka-combined.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '2'
services:
kafka-1:
image: quay.io/debezium/kafka:${DEBEZIUM_VERSION}
ports:
- 19092:9092
- 19093:9093
- 9012:9012
environment:
- CLUSTER_ID=oh-sxaDRTcyAr6pFRbXyzA
- BROKER_ID=1
- KAFKA_CONTROLLER_QUORUM_VOTERS=1@kafka-1:9093,2@kafka-2:9093,3@kafka-3:9093
- JMXPORT=9012
- JMXHOST=0.0.0.0
kafka-2:
image: quay.io/debezium/kafka:${DEBEZIUM_VERSION}
ports:
- 29092:9092
- 29093:9093
- 9013:9013
environment:
- CLUSTER_ID=oh-sxaDRTcyAr6pFRbXyzA
- BROKER_ID=2
- KAFKA_CONTROLLER_QUORUM_VOTERS=1@kafka-1:9093,2@kafka-2:9093,3@kafka-3:9093
- JMXPORT=9013
- JMXHOST=0.0.0.0
kafka-3:
image: quay.io/debezium/kafka:${DEBEZIUM_VERSION}
ports:
- 39092:9092
- 39093:9093
- 9014:9014
environment:
- CLUSTER_ID=oh-sxaDRTcyAr6pFRbXyzA
- BROKER_ID=3
- KAFKA_CONTROLLER_QUORUM_VOTERS=1@kafka-1:9093,2@kafka-2:9093,3@kafka-3:9093
- JMXPORT=9014
- JMXHOST=0.0.0.0
postgres:
image: quay.io/debezium/example-postgres:${DEBEZIUM_VERSION}
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
connect:
image: quay.io/debezium/connect:${DEBEZIUM_VERSION}
ports:
- 8083:8083
links:
- kafka-1
- kafka-2
- kafka-3
- postgres
environment:
- BOOTSTRAP_SERVERS=kafka-1:9092
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=my_connect_configs
- OFFSET_STORAGE_TOPIC=my_connect_offsets
- STATUS_STORAGE_TOPIC=my_connect_statuses