mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 18:59:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			998 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			998 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| source:
 | |
|   type: mssql
 | |
|   config:
 | |
|     # Coordinates
 | |
|     host_port: localhost:1433
 | |
|     database: DemoDatabase
 | |
| 
 | |
|     # Credentials
 | |
|     username: user
 | |
|     password: pass
 | |
| 
 | |
| sink:
 | |
|   # sink configs
 | |
| 
 | |
| #------------------------------------------------------------------------
 | |
| #Example: using ingestion with ODBC and encryption
 | |
| #This requires you to have already installed the Microsoft ODBC Driver for SQL Server.
 | |
| #See https://docs.microsoft.com/en-us/sql/connect/python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development?view=sql-server-ver15
 | |
| # ------------------------------------------------------------------------
 | |
| 
 | |
| source:
 | |
|   type: mssql
 | |
|   config:
 | |
|     # Coordinates
 | |
|     host_port: localhost:1433
 | |
|     database: DemoDatabase
 | |
| 
 | |
|     # Credentials
 | |
|     username: admin
 | |
|     password: password
 | |
| 
 | |
|     # Options
 | |
|     use_odbc: "True"
 | |
|     uri_args:
 | |
|       driver: "ODBC Driver 17 for SQL Server"
 | |
|       Encrypt: "yes"
 | |
|       TrustServerCertificate: "Yes"
 | |
|       ssl: "True"
 | |
| 
 | |
| sink:
 | |
|   # sink configs
 | 
