mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 18:10:11 +00:00
20 lines
544 B
YAML
20 lines
544 B
YAML
![]() |
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
|
||
|
sink:
|
||
|
type: "datahub-rest"
|
||
|
config:
|
||
|
server: "http://localhost:8080"
|