public abstract class RelationalDatabaseConnectorConfig extends CommonConnectorConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
RelationalDatabaseConnectorConfig.DecimalHandlingMode
The set of predefined DecimalHandlingMode options or aliases.
|
CommonConnectorConfig.BinaryHandlingMode, CommonConnectorConfig.EventProcessingFailureHandlingMode, CommonConnectorConfig.Version| Modifier and Type | Field and Description |
|---|---|
static Field |
COLUMN_BLACKLIST
Deprecated.
|
static Field |
COLUMN_EXCLUDE_LIST
A comma-separated list of regular expressions that match fully-qualified names of columns to be excluded from monitoring
and change messages.
|
static Field |
COLUMN_INCLUDE_LIST
A comma-separated list of regular expressions that match fully-qualified names of columns to be excluded from monitoring
and change messages.
|
static String |
COLUMN_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG |
static Field |
COLUMN_WHITELIST
Deprecated.
|
protected static ConfigDefinition |
CONFIG_DEFINITION |
static Field |
DECIMAL_HANDLING_MODE |
static long |
DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS |
static Field |
INCLUDE_SCHEMA_CHANGES |
private Key.KeyMapper |
keyMapper |
static Field |
MASK_COLUMN |
static Field |
MASK_COLUMN_WITH_HASH |
static Field |
MSG_KEY_COLUMNS |
private static Pattern |
MSG_KEY_COLUMNS_PATTERN |
static Field |
PROPAGATE_COLUMN_SOURCE_TYPE |
static Field |
PROPAGATE_DATATYPE_SOURCE_TYPE |
static Field |
SCHEMA_BLACKLIST
Deprecated.
|
static Field |
SCHEMA_EXCLUDE_LIST
A comma-separated list of regular expressions that match schema names to be excluded from monitoring.
|
protected static String |
SCHEMA_EXCLUDE_LIST_NAME |
static Field |
SCHEMA_INCLUDE_LIST
A comma-separated list of regular expressions that match schema names to be monitored.
|
static String |
SCHEMA_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG |
protected static String |
SCHEMA_INCLUDE_LIST_NAME |
static Field |
SCHEMA_WHITELIST
Deprecated.
|
static Field |
SERVER_NAME |
static Field |
SNAPSHOT_LOCK_TIMEOUT_MS |
static Field |
SNAPSHOT_SELECT_STATEMENT_OVERRIDES_BY_TABLE |
static Field |
TABLE_BLACKLIST
Deprecated.
|
protected static String |
TABLE_BLACKLIST_NAME |
static Field |
TABLE_EXCLUDE_LIST
A comma-separated list of regular expressions that match the fully-qualified names of tables to be excluded from
monitoring.
|
protected static String |
TABLE_EXCLUDE_LIST_NAME |
static Field |
TABLE_IGNORE_BUILTIN |
static Field |
TABLE_INCLUDE_LIST
A comma-separated list of regular expressions that match the fully-qualified names of tables to be monitored.
|
static String |
TABLE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG |
protected static String |
TABLE_INCLUDE_LIST_NAME |
static Field |
TABLE_WHITELIST
Deprecated.
|
protected static String |
TABLE_WHITELIST_NAME |
private RelationalTableFilters |
tableFilters |
private Selectors.TableIdToStringMapper |
tableIdMapper |
private TemporalPrecisionMode |
temporalPrecisionMode |
static Field |
TIME_PRECISION_MODE |
static Field |
TRUNCATE_COLUMN |
BINARY_HANDLING_MODE, CUSTOM_CONVERTERS, DATABASE_CONFIG_PREFIX, DEFAULT_MAX_BATCH_SIZE, DEFAULT_MAX_QUEUE_SIZE, DEFAULT_POLL_INTERVAL_MILLIS, DEFAULT_QUERY_FETCH_SIZE, DEFAULT_RETRIABLE_RESTART_WAIT, EVENT_PROCESSING_FAILURE_HANDLING_MODE, MAX_BATCH_SIZE, MAX_QUEUE_SIZE, POLL_INTERVAL_MS, PROVIDE_TRANSACTION_METADATA, QUERY_FETCH_SIZE, RETRIABLE_RESTART_WAIT, SANITIZE_FIELD_NAMES, SKIPPED_OPERATIONS, SNAPSHOT_DELAY_MS, SNAPSHOT_FETCH_SIZE, SNAPSHOT_MODE_TABLES, SOURCE_STRUCT_MAKER_VERSION, TOMBSTONES_ON_DELETE| Modifier | Constructor and Description |
|---|---|
protected |
RelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
Selectors.TableIdToStringMapper tableIdMapper,
int defaultSnapshotFetchSize) |
binaryHandlingMode, customConverterRegistry, getConfig, getConnectorName, getContextName, getDataCollectionsToBeSnapshotted, getEventProcessingFailureHandlingMode, getHeartbeatTopicsPrefix, getLogicalName, getMaxBatchSize, getMaxQueueSize, getPollInterval, getQueryFetchSize, getRetriableRestartWait, getSanitizeFieldNames, getSkippedOps, getSnapshotDelay, getSnapshotFetchSize, getSourceInfoStructMaker, getSourceInfoStructMaker, isEmitTombstoneOnDelete, shouldProvideTransactionMetadata, validateServerNameIsDifferentFromHistoryTopicNameprotected static final String SCHEMA_INCLUDE_LIST_NAME
protected static final String SCHEMA_EXCLUDE_LIST_NAME
protected static final String TABLE_BLACKLIST_NAME
protected static final String TABLE_EXCLUDE_LIST_NAME
protected static final String TABLE_WHITELIST_NAME
protected static final String TABLE_INCLUDE_LIST_NAME
private static final Pattern MSG_KEY_COLUMNS_PATTERN
public static final long DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS
public static final String TABLE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG
public static final String COLUMN_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG
public static final String SCHEMA_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG
public static final Field SERVER_NAME
public static final Field TABLE_INCLUDE_LIST
<databaseName>.<tableName> or
<databaseName>.<schemaName>.<tableName>. Must not be used with TABLE_EXCLUDE_LIST, and superseded by database
inclusions/exclusions.@Deprecated public static final Field TABLE_WHITELIST
public static final Field TABLE_EXCLUDE_LIST
<databaseName>.<tableName> or
<databaseName>.<schemaName>.<tableName>. Must not be used with TABLE_INCLUDE_LIST.@Deprecated public static final Field TABLE_BLACKLIST
public static final Field TABLE_IGNORE_BUILTIN
public static final Field COLUMN_EXCLUDE_LIST
<databaseName>.<tableName>.<columnName> or
<schemaName>.<tableName>.<columnName> or <databaseName>.<schemaName>.<tableName>.<columnName>.@Deprecated public static final Field COLUMN_BLACKLIST
public static final Field COLUMN_INCLUDE_LIST
<databaseName>.<tableName>.<columnName> or
<schemaName>.<tableName>.<columnName> or <databaseName>.<schemaName>.<tableName>.<columnName>.@Deprecated public static final Field COLUMN_WHITELIST
public static final Field MSG_KEY_COLUMNS
public static final Field DECIMAL_HANDLING_MODE
public static final Field SNAPSHOT_SELECT_STATEMENT_OVERRIDES_BY_TABLE
public static final Field SCHEMA_INCLUDE_LIST
SCHEMA_EXCLUDE_LIST.@Deprecated public static final Field SCHEMA_WHITELIST
public static final Field SCHEMA_EXCLUDE_LIST
SCHEMA_INCLUDE_LIST.@Deprecated public static final Field SCHEMA_BLACKLIST
public static final Field TIME_PRECISION_MODE
public static final Field SNAPSHOT_LOCK_TIMEOUT_MS
public static final Field INCLUDE_SCHEMA_CHANGES
public static final Field MASK_COLUMN_WITH_HASH
public static final Field MASK_COLUMN
public static final Field TRUNCATE_COLUMN
public static final Field PROPAGATE_COLUMN_SOURCE_TYPE
public static final Field PROPAGATE_DATATYPE_SOURCE_TYPE
protected static final ConfigDefinition CONFIG_DEFINITION
private final RelationalTableFilters tableFilters
private final TemporalPrecisionMode temporalPrecisionMode
private final Key.KeyMapper keyMapper
private final Selectors.TableIdToStringMapper tableIdMapper
protected RelationalDatabaseConnectorConfig(Configuration config, String logicalName, Tables.TableFilter systemTablesFilter, Selectors.TableIdToStringMapper tableIdMapper, int defaultSnapshotFetchSize)
public RelationalTableFilters getTableFilters()
public JdbcValueConverters.DecimalMode getDecimalMode()
decimal.handling.mode
configuration. This defaults to precise if nothing is provided.public TemporalPrecisionMode getTemporalPrecisionMode()
time.precision.mode
configuration. This defaults to adaptive if nothing is provided.public Key.KeyMapper getKeyMapper()
public Duration snapshotLockTimeout()
public String schemaExcludeList()
public String schemaIncludeList()
public String tableExcludeList()
public String tableIncludeList()
public String columnExcludeList()
public String columnIncludeList()
private static int validateColumnExcludeList(Configuration config, Field field, Field.ValidationOutput problems)
public boolean isSchemaChangesHistoryEnabled()
isSchemaChangesHistoryEnabled in class CommonConnectorConfigpublic Selectors.TableIdToStringMapper getTableIdMapper()
private static int validateTableExcludeList(Configuration config, Field field, Field.ValidationOutput problems)
public Map<TableId,String> getSnapshotSelectOverridesByTable()
private static int validateSchemaExcludeList(Configuration config, Field field, Field.ValidationOutput problems)
private static int validateMessageKeyColumnsField(Configuration config, Field field, Field.ValidationOutput problems)
Copyright © 2020 JBoss by Red Hat. All rights reserved.