| 
									
										
										
										
											2022-05-13 10:19:46 +05:30
										 |  |  | # see https://datahubproject.io/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
										 |  |  | 
 | 
					
						
							|  |  |  | # see https://datahubproject.io/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"
 |