Package io.debezium.connector.sqlserver
Class SqlServerConnectorConfig
java.lang.Object
io.debezium.config.CommonConnectorConfig
io.debezium.relational.RelationalDatabaseConnectorConfig
io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
io.debezium.connector.sqlserver.SqlServerConnectorConfig
The list of configuration options for SQL Server connector
- Author:
- Jiri Pechanec
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The set of predefined snapshot isolation mode options.static enum
The set of predefined SnapshotMode options or aliases.private static class
Nested classes/interfaces inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig
RelationalDatabaseConnectorConfig.DecimalHandlingMode, RelationalDatabaseConnectorConfig.SnapshotTablesRowCountOrder
Nested classes/interfaces inherited from class io.debezium.config.CommonConnectorConfig
CommonConnectorConfig.BinaryHandlingMode, CommonConnectorConfig.EventProcessingFailureHandlingMode, CommonConnectorConfig.FieldNameAdjustmentMode, CommonConnectorConfig.SchemaNameAdjustmentMode, CommonConnectorConfig.Version
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Field.Set
The set ofField
s defined as part of this configuration.private static final String
private static final ConfigDefinition
static final Field
protected static final int
protected static final int
private static final int
static final Field
static final Field
private final String
private static final org.slf4j.Logger
static final Field
static final Field
static final String
private final int
private final boolean
static final Field
static final Field
private final int
private static final String
private final boolean
static final Field
static final Field
private final SqlServerConnectorConfig.SnapshotIsolationMode
private final SqlServerConnectorConfig.SnapshotMode
static final Field
static final Field
Fields inherited from class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
DEFAULT_SNAPSHOT_FETCH_SIZE, SCHEMA_HISTORY, SKIP_UNPARSEABLE_DDL_STATEMENTS, skipUnparseableDDL, STORE_ONLY_CAPTURED_DATABASES_DDL, STORE_ONLY_CAPTURED_TABLES_DDL, storeOnlyCapturedDatabasesDdl, storeOnlyCapturedTablesDdl
Fields inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig
COLUMN_EXCLUDE_LIST, COLUMN_INCLUDE_LIST, COLUMN_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, DATABASE_EXCLUDE_LIST, DATABASE_EXCLUDE_LIST_NAME, DATABASE_INCLUDE_LIST, DATABASE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, DATABASE_INCLUDE_LIST_NAME, DATABASE_NAME, DECIMAL_HANDLING_MODE, DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS, DEFAULT_UNAVAILABLE_VALUE_PLACEHOLDER, HOSTNAME, HOSTNAME_PATTERN, INCLUDE_SCHEMA_CHANGES, INCLUDE_SCHEMA_COMMENTS, MASK_COLUMN, MASK_COLUMN_WITH_HASH, MSG_KEY_COLUMNS, PASSWORD, PROPAGATE_COLUMN_SOURCE_TYPE, PROPAGATE_DATATYPE_SOURCE_TYPE, SCHEMA_EXCLUDE_LIST, SCHEMA_EXCLUDE_LIST_NAME, SCHEMA_INCLUDE_LIST, SCHEMA_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, SCHEMA_INCLUDE_LIST_NAME, SNAPSHOT_FULL_COLUMN_SCAN_FORCE, SNAPSHOT_LOCK_TIMEOUT_MS, SNAPSHOT_SELECT_STATEMENT_OVERRIDES_BY_TABLE, SNAPSHOT_TABLES_ORDER_BY_ROW_COUNT, TABLE_EXCLUDE_LIST, TABLE_EXCLUDE_LIST_NAME, TABLE_IGNORE_BUILTIN, TABLE_INCLUDE_LIST, TABLE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, TABLE_INCLUDE_LIST_NAME, TIME_PRECISION_MODE, TRUNCATE_COLUMN, UNAVAILABLE_VALUE_PLACEHOLDER
Fields inherited from class io.debezium.config.CommonConnectorConfig
BINARY_HANDLING_MODE, CUSTOM_CONVERTERS, CUSTOM_METRIC_TAGS, CUSTOM_RETRIABLE_EXCEPTION, DATABASE_CONFIG_PREFIX, DEFAULT_MAX_BATCH_SIZE, DEFAULT_MAX_QUEUE_SIZE, DEFAULT_MAX_QUEUE_SIZE_IN_BYTES, DEFAULT_MAX_RETRIES, DEFAULT_POLL_INTERVAL_MILLIS, DEFAULT_RETRIABLE_RESTART_WAIT, DRIVER_CONFIG_PREFIX, ERRORS_MAX_RETRIES, EVENT_PROCESSING_FAILURE_HANDLING_MODE, FIELD_NAME_ADJUSTMENT_MODE, INCREMENTAL_SNAPSHOT_ALLOW_SCHEMA_CHANGES, INCREMENTAL_SNAPSHOT_CHUNK_SIZE, logicalName, MAX_BATCH_SIZE, MAX_QUEUE_SIZE, MAX_QUEUE_SIZE_IN_BYTES, MAX_RETRIES_ON_ERROR, MULTI_PARTITION_MODE, NOTIFICATION_CONFIGURATION_FIELD_PREFIX_STRING, NOTIFICATION_ENABLED_CHANNELS, POLL_INTERVAL_MS, PROVIDE_TRANSACTION_METADATA, RETRIABLE_RESTART_WAIT, SCHEMA_NAME_ADJUSTMENT_MODE, SIGNAL_DATA_COLLECTION, SIGNAL_ENABLED_CHANNELS, SIGNAL_POLL_INTERVAL_MS, SKIP_MESSAGES_WITHOUT_CHANGE, SKIPPED_OPERATIONS, SNAPSHOT_DELAY_MS, SNAPSHOT_FETCH_SIZE, SNAPSHOT_MAX_THREADS, SNAPSHOT_MODE_TABLES, TASK_ID, TOMBSTONES_ON_DELETE, TOPIC_NAME_PATTERN, TOPIC_NAMING_STRATEGY, TOPIC_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.kafka.common.config.ConfigDef
protected HistoryRecordComparator
int
boolean
int
protected SourceInfoStructMaker<? extends AbstractSourceInfo>
boolean
boolean
protected boolean
boolean
private static int
validateDatabaseNames
(Configuration config, Field field, Field.ValidationOutput problems) Methods inherited from class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
ddlFilter, getSchemaHistory, multiPartitionMode, skipUnparseableDdlStatements, storeOnlyCapturedDatabases, storeOnlyCapturedTables, useCatalogBeforeSchema
Methods inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig
createHeartbeat, getColumnFilter, getDecimalMode, getFieldNamer, getHeartbeatActionQuery, getKeyMapper, getTableFilters, getTableIdMapper, getTemporalPrecisionMode, getUnavailableValuePlaceholder, isColumnsFiltered, isFullColumnScanRequired, isSchemaChangesHistoryEnabled, isSchemaCommentsHistoryEnabled, schemaExcludeList, schemaIncludeList, snapshotLockTimeout, snapshotOrderByRowCount, tableExcludeList, tableIncludeList
Methods inherited from class io.debezium.config.CommonConnectorConfig
binaryHandlingMode, createCustomMetricTags, customConverterRegistry, customRetriableException, fieldNameAdjuster, getConfig, getCustomMetricTags, getDataCollectionsToBeSnapshotted, getEnabledChannels, getEnabledNotificationChannels, getEventProcessingFailureHandlingMode, getHeartbeatInterval, getHeartbeatTopicsPrefix, getIncrementalSnapshotChunkSize, getLogicalName, getMaxBatchSize, getMaxQueueSize, getMaxQueueSizeInBytes, getMaxRetriesOnError, getNotificationTopic, getPollInterval, getRetriableRestartWait, getSignalingDataCollectionId, getSignalPollInterval, getSkippedOperations, getSnapshotDelay, getSnapshotFetchSize, getSnapshotMaxThreads, getSourceInfoStructMaker, getSourceInfoStructMaker, getTaskId, getTopicNamingStrategy, getTopicNamingStrategy, isEmitTombstoneOnDelete, isIncrementalSnapshotSchemaChangesEnabled, isSignalDataCollection, parseSignallingMessage, schemaNameAdjuster, shouldProvideTransactionMetadata, skipMessagesWithoutChange, validate, validateAndRecord, validateSkippedOperation, validateTopicName
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MAX_TRANSACTIONS_PER_ITERATION_CONFIG_NAME
- See Also:
-
DEFAULT_PORT
protected static final int DEFAULT_PORT- See Also:
-
DEFAULT_MAX_TRANSACTIONS_PER_ITERATION
protected static final int DEFAULT_MAX_TRANSACTIONS_PER_ITERATION- See Also:
-
READ_ONLY_INTENT
- See Also:
-
APPLICATION_INTENT_KEY
- See Also:
-
DEFAULT_QUERY_FETCH_SIZE
private static final int DEFAULT_QUERY_FETCH_SIZE- See Also:
-
USER
-
PORT
-
INSTANCE
-
DATABASE_NAMES
-
MAX_LSN_OPTIMIZATION
-
MAX_TRANSACTIONS_PER_ITERATION
-
SNAPSHOT_MODE
-
SNAPSHOT_ISOLATION_MODE
-
INCREMENTAL_SNAPSHOT_OPTION_RECOMPILE
-
QUERY_FETCH_SIZE
-
SOURCE_INFO_STRUCT_MAKER
-
CONFIG_DEFINITION
-
ALL_FIELDS
The set ofField
s defined as part of this configuration. -
databaseNames
-
instanceName
-
snapshotMode
-
snapshotIsolationMode
-
readOnlyDatabaseConnection
private final boolean readOnlyDatabaseConnection -
maxTransactionsPerIteration
private final int maxTransactionsPerIteration -
optionRecompile
private final boolean optionRecompile -
queryFetchSize
private final int queryFetchSize
-
-
Constructor Details
-
SqlServerConnectorConfig
-
-
Method Details
-
configDef
public static org.apache.kafka.common.config.ConfigDef configDef() -
getDatabaseNames
-
getInstanceName
-
useSingleDatabase
public boolean useSingleDatabase() -
getJdbcConfig
- Overrides:
getJdbcConfig
in classRelationalDatabaseConnectorConfig
-
getSnapshotIsolationMode
-
getSnapshotMode
-
isReadOnlyDatabaseConnection
public boolean isReadOnlyDatabaseConnection() -
getMaxTransactionsPerIteration
public int getMaxTransactionsPerIteration() -
getOptionRecompile
public boolean getOptionRecompile() -
getQueryFetchSize
public int getQueryFetchSize()- Overrides:
getQueryFetchSize
in classCommonConnectorConfig
-
supportsOperationFiltering
public boolean supportsOperationFiltering()- Overrides:
supportsOperationFiltering
in classCommonConnectorConfig
-
supportsSchemaChangesDuringIncrementalSnapshot
protected boolean supportsSchemaChangesDuringIncrementalSnapshot()- Overrides:
supportsSchemaChangesDuringIncrementalSnapshot
in classCommonConnectorConfig
-
getSourceInfoStructMaker
protected SourceInfoStructMaker<? extends AbstractSourceInfo> getSourceInfoStructMaker(CommonConnectorConfig.Version version) - Specified by:
getSourceInfoStructMaker
in classCommonConnectorConfig
-
getHistoryRecordComparator
- Specified by:
getHistoryRecordComparator
in classHistorizedRelationalDatabaseConnectorConfig
-
getContextName
- Specified by:
getContextName
in classCommonConnectorConfig
-
getConnectorName
- Specified by:
getConnectorName
in classCommonConnectorConfig
-
getSnapshotSelectOverridesByTable
- Overrides:
getSnapshotSelectOverridesByTable
in classRelationalDatabaseConnectorConfig
-
validateDatabaseNames
private static int validateDatabaseNames(Configuration config, Field field, Field.ValidationOutput problems)
-