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
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_WHITELIST
A comma-separated list of regular expressions that match fully-qualified names of columns to be excluded from monitoring
and change messages.
|
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 |
SCHEMA_BLACKLIST
A comma-separated list of regular expressions that match schema names to be excluded from monitoring.
|
static Field |
SCHEMA_WHITELIST
A comma-separated list of regular expressions that match schema names to be monitored.
|
static Field |
SERVER_NAME |
static Field |
SNAPSHOT_LOCK_TIMEOUT_MS |
static Field |
SNAPSHOT_SELECT_STATEMENT_OVERRIDES_BY_TABLE |
static Field |
TABLE_BLACKLIST
A comma-separated list of regular expressions that match the fully-qualified names of tables to be excluded from
monitoring.
|
protected static String |
TABLE_BLACKLIST_NAME |
static Field |
TABLE_IGNORE_BUILTIN |
static Field |
TABLE_WHITELIST
A comma-separated list of regular expressions that match the fully-qualified names of tables to be monitored.
|
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, EVENT_PROCESSING_FAILURE_HANDLING_MODE, MAX_BATCH_SIZE, MAX_QUEUE_SIZE, POLL_INTERVAL_MS, PROVIDE_TRANSACTION_METADATA, SANITIZE_FIELD_NAMES, SKIPPED_OPERATIONS, SNAPSHOT_DELAY_MS, SNAPSHOT_FETCH_SIZE, 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, getEventProcessingFailureHandlingMode, getHeartbeatTopicsPrefix, getLogicalName, getMaxBatchSize, getMaxQueueSize, getPollInterval, getSanitizeFieldNames, getSkippedOps, getSnapshotDelay, getSnapshotFetchSize, getSourceInfoStructMaker, getSourceInfoStructMaker, isEmitTombstoneOnDelete, shouldProvideTransactionMetadata, validateServerNameIsDifferentFromHistoryTopicNameprotected static final String TABLE_BLACKLIST_NAME
protected static final String TABLE_WHITELIST_NAME
private static final Pattern MSG_KEY_COLUMNS_PATTERN
public static final long DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS
public static final Field SERVER_NAME
public static final Field TABLE_WHITELIST
<databaseName>.<tableName> or
<databaseName>.<schemaName>.<tableName>. May not be used with TABLE_BLACKLIST, and superseded by database
inclusions/exclusions.public static final Field TABLE_BLACKLIST
<databaseName>.<tableName> or
<databaseName>.<schemaName>.<tableName>. May not be used with TABLE_WHITELIST.public static final Field TABLE_IGNORE_BUILTIN
public static final Field COLUMN_BLACKLIST
<databaseName>.<tableName>.<columnName> or
<schemaName>.<tableName>.<columnName> or <databaseName>.<schemaName>.<tableName>.<columnName>.public static final Field COLUMN_WHITELIST
<databaseName>.<tableName>.<columnName> or
<schemaName>.<tableName>.<columnName> or <databaseName>.<schemaName>.<tableName>.<columnName>.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_WHITELIST
SCHEMA_BLACKLIST.public static final Field SCHEMA_BLACKLIST
SCHEMA_WHITELIST.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
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()
private static int validateColumnBlacklist(Configuration config, Field field, Field.ValidationOutput problems)
public boolean isSchemaChangesHistoryEnabled()
isSchemaChangesHistoryEnabled in class CommonConnectorConfigpublic Selectors.TableIdToStringMapper getTableIdMapper()
private static int validateTableBlacklist(Configuration config, Field field, Field.ValidationOutput problems)
public Map<TableId,String> getSnapshotSelectOverridesByTable()
private static int validateSchemaBlacklist(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.