Use change data capture to stream data from Azure SQL databases to any data sink and transform them on the way.
Please make sure that the Azure SQL database allows connections from the public IP address of DataCater.
Please also make sure that the Azure SQL user can access the configured table and the system tables information_schema.key_column_usage, database_name.information_schema.tables, and information_schema.columns.
This source connector supports the following configuration options:
The name of the Azure server.
The name of the user.
The password of the user.
The name of the Azure SQL database.
The name of the Azure SQL schema (default: dbo).
The name of the Azure SQL database table. You may retrieve the list of tables available in the given database and schema by clicking on Fetch table names.
You may choose one of the following modes for change data capture:
If the database table does not specify any primary key, please define a column to be used as primary key here.
DataCater can use a timestamp column, which stores the time of the most recent update of a record, to detect record updates. Specifying the timestamp column is required when using TIMESTAMP/INCREMENTING as Change Data Capture mode.
The interval in seconds between synchronizations of the Azure SQL Database and DataCater (default: 3600).
The following table shows the mapping between Azure SQL Database data types and the data types used by DataCater.
Azure SQL Database data type | DataCater data type |
---|---|
bigint | Long |
bit | Int |
char | String |
date | Date |
datetime | Timestamp |
decimal | Double |
float | Double |
int | Int |
ntext | String |
numeric | Double |
nvarchar | String |
real | Float |
smallint | Int |
time | Time |
tinyint | Int |