forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecured_kafka.yml
45 lines (44 loc) · 2.06 KB
/
secured_kafka.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
34
35
36
37
38
39
40
41
42
43
44
45
# see https://datahubproject.io/docs/metadata-ingestion/source_docs/kafka for complete documentation
source:
type: "kafka"
config:
connection:
bootstrap: "broker:9092"
consumer_config:
# See https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#serde-consumer
security.protocol: "ssl"
ssl.ca.location: "certificate_ca.pem"
ssl.certificate.location: "certificate.pem"
ssl.key.location: "private_key.pem"
ssl.key.password: "XXXXXXX"
schema_registry_url: "http://localhost:8081"
schema_registry_config:
# See https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#confluent_kafka.schema_registry.SchemaRegistryClient
# Most of these config keys are optional.
ssl.ca.location: "certificate_ca.pem"
ssl.certificate.location: "certificate.pem"
ssl.key.location: "private_key.pem"
ssl.key.password: "XXXXXXX"
basic.auth.user.info: "user:secret" # optional
# see https://datahubproject.io/docs/metadata-ingestion/sink_docs/datahub for complete documentation
sink:
type: "datahub-kafka"
config:
connection:
bootstrap: "broker:9092"
producer_config:
# See https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#serde-consumer
security.protocol: "ssl"
ssl.ca.location: "certificate_ca.pem"
ssl.certificate.location: "certificate.pem"
ssl.key.location: "private_key.pem"
ssl.key.password: "XXXXXXX"
schema_registry_url: "http://localhost:8081"
schema_registry_config:
# See https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#confluent_kafka.schema_registry.SchemaRegistryClient
# Most of these config keys are optional.
ssl.ca.location: "certificate_ca.pem"
ssl.certificate.location: "certificate.pem"
ssl.key.location: "private_key.pem"
ssl.key.password: "XXXXXXX"
basic.auth.user.info: "user:secret"