-
Notifications
You must be signed in to change notification settings - Fork 0
/
postgre-source-kafka-secured.json
29 lines (29 loc) · 1.59 KB
/
postgre-source-kafka-secured.json
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
{
"name": "postgre-debeziumtest-source",
"config": {
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"plugin.name": "pgoutput",
"tasks.max": "1",
"topic.prefix": "dbpostgresqlserver1",
"database.hostname": "db-postgres-0",
"database.port": "5432",
"database.user": "codebaseuser",
"database.password": "12345678",
"database.dbname": "debeziumtest",
"publication.name": "myproduct_dbz_publication",
"publication.autocreate.mode": "filtered",
"table.include.list": "public.movie,public.person",
"database.history.kafka.bootstrap.servers": "kafka1:9093,kafka2:9093,kafka3:9093",
"database.history.kafka.topic": "schema-changes.postgre-debeziumtest-source",
"database.history.consumer.security.protocol": "SASL_PLAINTEXT",
"database.history.consumer.sasl.mechanism": "PLAIN",
"database.history.consumer.sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"admin\" password=\"mypass\";",
"database.history.producer.security.protocol": "SASL_PLAINTEXT",
"database.history.producer.sasl.mechanism": "PLAIN",
"database.history.producer.sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"admin\" password=\"mypass\";",
"transforms": "route",
"transforms.route.type": "org.apache.kafka.connect.transforms.RegexRouter",
"transforms.route.regex": "([^.]+)\\.([^.]+)\\.([^.]+)",
"transforms.route.replacement": "$1_$2$3"
}
}