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 enumThe set of predefined snapshot isolation mode options.static enumThe set of predefined SnapshotMode options or aliases.private static classNested classes/interfaces inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig
RelationalDatabaseConnectorConfig.DecimalHandlingModeNested classes/interfaces inherited from class io.debezium.config.CommonConnectorConfig
CommonConnectorConfig.BinaryHandlingMode, CommonConnectorConfig.EventProcessingFailureHandlingMode, CommonConnectorConfig.SchemaNameAdjustmentMode, CommonConnectorConfig.Version -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Field.SetThe set ofFields defined as part of this configuration.private static final Stringprivate static final ConfigDefinitionstatic final Fieldstatic final Fieldprotected static final intprotected static final intstatic final Fieldstatic final Fieldprivate final Stringprivate static final org.slf4j.Loggerstatic final Fieldstatic final Fieldstatic final Stringprivate final intprivate final booleanprivate final booleanstatic final Fieldprivate static final Stringprivate final booleanstatic final Fieldstatic final FieldDeprecated.The connector will determine the database server timezone offset automatically.static final Fieldstatic final Fieldprivate final SqlServerConnectorConfig.SnapshotIsolationModeprivate final SqlServerConnectorConfig.SnapshotModestatic final Fieldstatic final Stringprivate final SourceTimestampModestatic final FieldFields inherited from class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
DATABASE_HISTORY, DEFAULT_SNAPSHOT_FETCH_SIZEFields inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig
COLUMN_BLACKLIST, COLUMN_EXCLUDE_LIST, COLUMN_INCLUDE_LIST, COLUMN_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, COLUMN_WHITELIST, COLUMN_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG, DATABASE_BLACKLIST, DATABASE_BLACKLIST_NAME, DATABASE_EXCLUDE_LIST, DATABASE_EXCLUDE_LIST_NAME, DATABASE_INCLUDE_LIST, DATABASE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, DATABASE_INCLUDE_LIST_NAME, DATABASE_WHITELIST, DATABASE_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG, DATABASE_WHITELIST_NAME, DECIMAL_HANDLING_MODE, DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS, DEFAULT_UNAVAILABLE_VALUE_PLACEHOLDER, HOSTNAME, 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_BLACKLIST, SCHEMA_EXCLUDE_LIST, SCHEMA_EXCLUDE_LIST_NAME, SCHEMA_INCLUDE_LIST, SCHEMA_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, SCHEMA_INCLUDE_LIST_NAME, SCHEMA_WHITELIST, SCHEMA_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG, SERVER_NAME_PATTERN, SNAPSHOT_FULL_COLUMN_SCAN_FORCE, SNAPSHOT_LOCK_TIMEOUT_MS, SNAPSHOT_SELECT_STATEMENT_OVERRIDES_BY_TABLE, TABLE_BLACKLIST, TABLE_BLACKLIST_NAME, TABLE_EXCLUDE_LIST, TABLE_EXCLUDE_LIST_NAME, TABLE_IGNORE_BUILTIN, TABLE_INCLUDE_LIST, TABLE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG, TABLE_INCLUDE_LIST_NAME, TABLE_WHITELIST, TABLE_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG, TABLE_WHITELIST_NAME, TIME_PRECISION_MODE, TRUNCATE_COLUMN, UNAVAILABLE_VALUE_PLACEHOLDERFields inherited from class io.debezium.config.CommonConnectorConfig
BINARY_HANDLING_MODE, CUSTOM_CONVERTERS, CUSTOM_RETRIABLE_EXCEPTION, DATABASE_CONFIG_PREFIX, DEFAULT_MAX_BATCH_SIZE, DEFAULT_MAX_QUEUE_SIZE, DEFAULT_MAX_QUEUE_SIZE_IN_BYTES, DEFAULT_POLL_INTERVAL_MILLIS, DEFAULT_QUERY_FETCH_SIZE, DEFAULT_RETRIABLE_RESTART_WAIT, EVENT_PROCESSING_FAILURE_HANDLING_MODE, INCREMENTAL_SNAPSHOT_ALLOW_SCHEMA_CHANGES, INCREMENTAL_SNAPSHOT_CHUNK_SIZE, MAX_BATCH_SIZE, MAX_QUEUE_SIZE, MAX_QUEUE_SIZE_IN_BYTES, POLL_INTERVAL_MS, PROVIDE_TRANSACTION_METADATA, QUERY_FETCH_SIZE, RETRIABLE_RESTART_WAIT, SANITIZE_FIELD_NAMES, SCHEMA_NAME_ADJUSTMENT_MODE, SIGNAL_DATA_COLLECTION, SKIPPED_OPERATIONS, SNAPSHOT_DELAY_MS, SNAPSHOT_FETCH_SIZE, SNAPSHOT_MAX_THREADS, SNAPSHOT_MODE_TABLES, SOURCE_STRUCT_MAKER_VERSION, TASK_ID, TOMBSTONES_ON_DELETE, TRANSACTION_TOPIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.kafka.common.config.ConfigDefprotected HistoryRecordComparatorintbooleanprotected SourceInfoStructMaker<? extends AbstractSourceInfo>booleanbooleanbooleanprotected booleanprivate static intvalidateDatabaseName(Configuration config, Field field, Field.ValidationOutput problems) private static intvalidateDatabaseNames(Configuration config, Field field, Field.ValidationOutput problems) Methods inherited from class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
getDatabaseHistory, useCatalogBeforeSchemaMethods inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig
getColumnFilter, getDecimalMode, getHeartbeatActionQuery, getJdbcConfig, getKeyMapper, getSnapshotSelectOverridesByTable, getTableFilters, getTableIdMapper, getTemporalPrecisionMode, getUnavailableValuePlaceholder, isFullColummnScanRequired, isSchemaChangesHistoryEnabled, isSchemaCommentsHistoryEnabled, schemaExcludeList, schemaIncludeList, snapshotLockTimeout, tableExcludeList, tableIncludeListMethods inherited from class io.debezium.config.CommonConnectorConfig
binaryHandlingMode, customConverterRegistry, customRetriableException, getConfig, getDataCollectionsToBeSnapshotted, getEventProcessingFailureHandlingMode, getHeartbeatInterval, getHeartbeatTopicsPrefix, getIncrementalSnashotChunkSize, getLogicalName, getMaxBatchSize, getMaxQueueSize, getMaxQueueSizeInBytes, getPollInterval, getQueryFetchSize, getRetriableRestartWait, getSanitizeFieldNames, getSignalingDataCollectionId, getSkippedOperations, getSnapshotDelay, getSnapshotFetchSize, getSnapshotMaxThreads, getSourceInfoStructMaker, getTaskId, getTransactionTopic, isEmitTombstoneOnDelete, isIncrementalSnapshotSchemaChangesEnabled, isSignalDataCollection, legacyGetDataCollectionsToBeSnapshotted, parseSignallingMessage, schemaNameAdjustmentMode, shouldProvideTransactionMetadata, validate, validateAndRecord, validateServerNameIsDifferentFromHistoryTopicName, validateSkippedOperation
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
SOURCE_TIMESTAMP_MODE_CONFIG_NAME
- See Also:
-
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:
-
USER
-
PORT
-
SERVER_NAME
-
INSTANCE
-
DATABASE_NAME
-
DATABASE_NAMES
-
SERVER_TIMEZONE
Deprecated.The connector will determine the database server timezone offset automatically. -
MAX_LSN_OPTIMIZATION
-
MAX_TRANSACTIONS_PER_ITERATION
-
SOURCE_TIMESTAMP_MODE
-
SNAPSHOT_MODE
-
SNAPSHOT_ISOLATION_MODE
-
INCREMENTAL_SNAPSHOT_OPTION_RECOMPILE
-
CONFIG_DEFINITION
-
ALL_FIELDS
The set ofFields defined as part of this configuration. -
databaseNames
-
instanceName
-
snapshotMode
-
snapshotIsolationMode
-
sourceTimestampMode
-
readOnlyDatabaseConnection
private final boolean readOnlyDatabaseConnection -
maxTransactionsPerIteration
private final int maxTransactionsPerIteration -
multiPartitionMode
private final boolean multiPartitionMode -
optionRecompile
private final boolean optionRecompile
-
-
Constructor Details
-
SqlServerConnectorConfig
-
-
Method Details
-
configDef
public static org.apache.kafka.common.config.ConfigDef configDef() -
getDatabaseNames
-
getInstanceName
-
isMultiPartitionModeEnabled
public boolean isMultiPartitionModeEnabled() -
getSnapshotIsolationMode
-
getSnapshotMode
-
getSourceTimestampMode
-
isReadOnlyDatabaseConnection
public boolean isReadOnlyDatabaseConnection() -
getMaxTransactionsPerIteration
public int getMaxTransactionsPerIteration() -
getOptionRecompile
public boolean getOptionRecompile() -
supportsOperationFiltering
public boolean supportsOperationFiltering()- Overrides:
supportsOperationFilteringin classCommonConnectorConfig
-
supportsSchemaChangesDuringIncrementalSnapshot
protected boolean supportsSchemaChangesDuringIncrementalSnapshot()- Overrides:
supportsSchemaChangesDuringIncrementalSnapshotin classCommonConnectorConfig
-
getSourceInfoStructMaker
protected SourceInfoStructMaker<? extends AbstractSourceInfo> getSourceInfoStructMaker(CommonConnectorConfig.Version version) - Specified by:
getSourceInfoStructMakerin classCommonConnectorConfig
-
getHistoryRecordComparator
- Specified by:
getHistoryRecordComparatorin classHistorizedRelationalDatabaseConnectorConfig
-
getContextName
- Specified by:
getContextNamein classCommonConnectorConfig
-
getConnectorName
- Specified by:
getConnectorNamein classCommonConnectorConfig
-
validateDatabaseName
private static int validateDatabaseName(Configuration config, Field field, Field.ValidationOutput problems) -
validateDatabaseNames
private static int validateDatabaseNames(Configuration config, Field field, Field.ValidationOutput problems)
-