-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
33 lines (32 loc) · 1.37 KB
/
docker-compose.yml
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
version: '3.1'
services:
mariadb:
image: mariadb:10.6.14
container_name: mariadb
environment:
MYSQL_ROOT_PASSWORD: rootpassword
volumes:
- ./files/mariadb.cnf:/etc/mysql/mariadb.conf.d/mariadb.cnf
- ./files/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "3306:3306"
debezium:
image: debezium/connect:latest
container_name: debezium
depends_on:
- mariadb
environment:
BOOTSTRAP_SERVERS: serverless.warpstream.com:9092
CONNECT_SASL_MECHANISM: PLAIN
CONNECT_SECURITY_PROTOCOL: SASL_SSL
CONNECT_SASL_JAAS_CONFIG: "org.apache.kafka.common.security.plain.PlainLoginModule required username='ccun_0000000000' password='ccp_0000000000';"
CONFIG_STORAGE_TOPIC: connect-configs
OFFSET_STORAGE_TOPIC: connect-offsets
CONNECT_PRODUCER_SASL_MECHANISM: PLAIN
CONNECT_PRODUCER_SECURITY_PROTOCOL: SASL_SSL
CONNECT_PRODUCER_SASL_JAAS_CONFIG: "org.apache.kafka.common.security.plain.PlainLoginModule required username='ccun_0000000000' password='ccp_0000000000';"
CONNECT_CONSUMER_SASL_MECHANISM: PLAIN
CONNECT_CONSUMER_SECURITY_PROTOCOL: SASL_SSL
CONNECT_CONSUMER_SASL_JAAS_CONFIG: "org.apache.kafka.common.security.plain.PlainLoginModule required username='ccun_0000000000' password='ccp_0000000000';"
volumes:
- ./files/connector.json/:/kafka/connector.json