2025-04-28 23:34:33 +09:00
|
|
|
# see https://docs.datahub.com/docs/generated/ingestion/sources/kafka for complete documentation
|
2021-02-11 15:00:34 -08:00
|
|
|
source:
|
|
|
|
|
type: "kafka"
|
2021-02-12 12:05:41 -08:00
|
|
|
config:
|
2021-03-10 17:32:12 -05:00
|
|
|
connection:
|
|
|
|
|
bootstrap: "broker:9092"
|
|
|
|
|
consumer_config:
|
2021-05-12 17:54:33 -07:00
|
|
|
# See https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#serde-consumer
|
2021-07-22 13:20:00 -07:00
|
|
|
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"
|
2021-03-10 17:32:12 -05:00
|
|
|
schema_registry_config:
|
2021-05-12 17:54:33 -07:00
|
|
|
# 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.
|
2021-07-22 13:20:00 -07:00
|
|
|
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
|
2021-02-11 15:00:34 -08:00
|
|
|
|
2025-04-28 23:34:33 +09:00
|
|
|
# see https://docs.datahub.com/docs/metadata-ingestion/sink_docs/datahub for complete documentation
|
2021-02-11 15:00:34 -08:00
|
|
|
sink:
|
2021-02-16 15:31:13 -08:00
|
|
|
type: "datahub-kafka"
|
|
|
|
|
config:
|
2021-03-10 17:32:12 -05:00
|
|
|
connection:
|
|
|
|
|
bootstrap: "broker:9092"
|
|
|
|
|
producer_config:
|
2021-05-12 17:54:33 -07:00
|
|
|
# See https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#serde-consumer
|
2021-07-22 13:20:00 -07:00
|
|
|
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"
|
2021-03-10 17:32:12 -05:00
|
|
|
schema_registry_config:
|
2021-05-12 17:54:33 -07:00
|
|
|
# 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.
|
2021-07-22 13:20:00 -07:00
|
|
|
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"
|