2025-04-28 23:34:33 +09:00
|
|
|
# see https://docs.datahub.com/docs/generated/ingestion/sources/mongodb for complete documentation
|
2021-06-29 10:16:58 -07:00
|
|
|
source:
|
|
|
|
type: "mongodb"
|
|
|
|
config:
|
|
|
|
# For advanced configurations, see the MongoDB docs.
|
|
|
|
# https://pymongo.readthedocs.io/en/stable/examples/authentication.html
|
|
|
|
connect_uri: "mongodb://localhost:57017"
|
|
|
|
username: mongoadmin
|
|
|
|
password: examplepass
|
|
|
|
env: "PROD" # Optional, default is "PROD"
|
|
|
|
authMechanism: "DEFAULT"
|
|
|
|
options: {}
|
|
|
|
database_pattern: {}
|
|
|
|
collection_pattern: {}
|
|
|
|
enableSchemaInference: True
|
|
|
|
schemaSamplingSize: 1000
|
2021-08-09 13:00:47 -04:00
|
|
|
|
2025-04-28 23:34:33 +09:00
|
|
|
# see https://docs.datahub.com/docs/metadata-ingestion/sink_docs/datahub for complete documentation
|
2021-06-29 10:16:58 -07:00
|
|
|
sink:
|
|
|
|
type: "datahub-rest"
|
|
|
|
config:
|
|
|
|
server: "http://localhost:8080"
|