Configuration Reference for Microsoft SQL Server Source Connector for Confluent Platform¶
Important
This connector is no longer available or supported by Confluent. Please use the SQL Server Source Connector.
To use this connector, specify the name of the connector class in the connector.class configuration property.
connector.class=io.confluent.connect.cdc.mssql.MsSqlSourceConnector
Connector-specific configuration properties are described below.
Database Connection¶
initial.databaseThe initial database to connect to.
- Type: string
 - Importance: high
 
passwordJDBC Password to connect to the database with.
- Type: password
 - Importance: high
 
server.nameThe database server to connect to.
- Type: string
 - Importance: high
 
server.portThe port on the database server to connect to.
- Type: Int
 - Importance: high
 
usernameJDBC Username to connect to the database with.
- Type: string
 - Importance: high
 
change.tracking.tablesThe tables in the source database to monitor for changes. If no tables are specified the
[sys].[change_tracking_tables]view is queried for all of the available tables with change tracking enabled.- Type: list
 - Importance: medium
 - Default Value: []
 
jdbc.pool.max.idleThe maximum number of idle connections in the connection pool.
- Type: Int
 - Importance: medium
 - Default Value: 10
 
jdbc.pool.max.totalThe maximum number of connections for the connection pool to open. If a number greater than this value is requested, the caller will block waiting for a connection to be returned. This setting is shared across all of the tasks for a given database.
- Type: Int
 - Importance: medium
 - Default Value: 30
 
jdbc.pool.min.idleThe minimum number of idle connections in the connection pool.
- Type: Int
 - Importance: medium
 - Default Value: 3
 
instance.nameThe instance name for the SQL Server we are connecting to.
- Type: string
 - Importance: low
 
multi.subnet.failover.enabledFlag to enable the multisubnet failover option.
- Type: Boolean
 - Importance: low
 - Default Value: false
 
Schema¶
schema.key.name.formatFormat used to generate the name for the key schema. The following template variables are available for string replacement.
${databaseName},${schemaName},${tableName},${namespace}- Type: string
 - Importance: high
 - Default Value: ${namespace}.${tableName}Key
 
schema.namespace.formatThe namespace for the schemas generated by the connector. The format in this setting will be used to create the
${namespace}variable, which is available for use in the other configuration templates. The following template variables are available for string replacement.${databaseName},${schemaName},${tableName}, and${namespace}.- Type: string
 - Importance: high
 - Default Value: com.example.data.${databaseName}
 
schema.value.name.formatFormat used to generate the name for the value schema. The following template variables are available for string replacement.
${databaseName},${schemaName},${tableName},${namespace}- Type: string
 - Importance: high
 - Default Value: ${namespace}.${tableName}Value
 
schema.cache.msThe number of milliseconds to cache key and value schema metadata in memory.
- Type: Int
 - Importance: low
 - Default Value: 300000
 - Valid Values: [60000,…]
 
schema.caseformat.column.nameThis setting is used to control how the column names are cased when the resulting schemas are generated.
- Type: string
 - Importance: low
 - Default Value: UPPER_UNDERSCORE
 - Valid Values: 
LOWER_HYPHEN,LOWER_UNDERSCORE,LOWER_CAMEL,LOWER,UPPER_CAMEL,UPPER_UNDERSCORE,UPPER,NONE 
schema.caseformat.database.nameThis setting is used to control how the
${databaseName}variable is cased when it is passed to the formatters defined in theschema.namespace.format,schema.key.name.format,schema.value.name.format,topicFormat.formatsettings. This allows you to control the naming applied to these properties. For example, this can be used to take a database name ofUSER_TRACKINGto a more java like case ofuserTrackingor all lowercaseusertracking.- Type: string
 - Importance: low
 - Default Value: UPPER_UNDERSCORE
 - Valid Values: 
LOWER_HYPHEN,LOWER_UNDERSCORE,LOWER_CAMEL,LOWER,UPPER_CAMEL,UPPER_UNDERSCORE,UPPER,NONE 
schema.caseformat.inputThe naming convention used by the database format. This is used to define the source naming convention used by the other
schema.caseformat.*properties.- Type: string
 - Importance: low
 - Default Value: UPPER_UNDERSCORE
 - Valid Values: 
LOWER_HYPHEN,LOWER_UNDERSCORE,LOWER_CAMEL,UPPER_CAMEL,UPPER_UNDERSCORE 
schema.caseformat.schema.nameThis setting is used to control how the
${schemaName}variable is cased when it is passed to the formatters defined in theschema.namespace.format,schema.key.name.format,schema.value.name.format,topicFormat.formatsettings. This allows you to control the naming applied to these properties. For example this can be used to take a schema name ofSCOTTto a more java like case ofScottor all lowercasescott.- Type: string
 - Importance: low
 - Default Value: UPPER_UNDERSCORE
 - Valid Values: 
LOWER_HYPHEN,LOWER_UNDERSCORE,LOWER_CAMEL,LOWER,UPPER_CAMEL,UPPER_UNDERSCORE,UPPER,NONE 
schema.caseformat.table.nameThis setting is used to control how the
${tableName}variable is cased when it is passed to the formatters defined in theschema.namespace.format,schema.key.name.format,schema.value.name.format,topicFormat.formatsettings. This allows you to control the naming applied to these properties. For example this can be used to take a table name ofUSER_SETTINGto a more java like case ofUserSettingor all lowercase usersetting.- Type: string
 - Importance: low
 - Default Value: UPPER_UNDERSCORE
 - Valid Values: 
LOWER_HYPHEN,LOWER_UNDERSCORE,LOWER_CAMEL,LOWER,UPPER_CAMEL,UPPER_UNDERSCORE,UPPER,NONE 
Source Database¶
backoff.time.msThe number of milliseconds to backoff when no records are returned from the source database.
- Type: Int
 - Importance: low
 - Default Value: 1000
 - Valid Values: [50,…]
 
Target¶
topicFormat.formatThe format that will be used to build the topic name. This allows database tables to be broken up across several topics. The following template variables can be used for string replacements.
${databaseName},${schemaName},${tableName},${namespace}- Type: string
 - Importance: high
 - Default Value: ${databaseName}.${tableName}
 
batch.sizeThe target number of records to return during each poll from the Connect framework. This setting is independent from the general producer setting
batch.size- Type: Int
 - Importance: low
 - Default Value: 512
 - Valid Values: [1,…]
 
uncomitted.record.maxThe maximum number of records to allow in memory. Once this limit is reached the record deque will block to prevent running out of memory.
- Type: Int
 - Importance: low
 - Default Value: 50000
 - Valid Values: [100,…]
 
uncomitted.record.timeout.msThe maximum amount of time to wait when writing to the deque before throwing a timeout exception.
- Type: long
 - Importance: low
 - Default Value: 300000
 - Valid Values: [100,…]