public abstract class HistorizedRelationalDatabaseConnectorConfig extends RelationalDatabaseConnectorConfig
RelationalDatabaseConnectorConfig.DecimalHandlingModeCommonConnectorConfig.EventProcessingFailureHandlingMode, CommonConnectorConfig.Version| Modifier and Type | Field and Description |
|---|---|
static Field |
DATABASE_HISTORY
The database history class is hidden in the
#configDef() since that is designed to work with a user interface,
and in these situations using Kafka is the only way to go. |
protected static int |
DEFAULT_SNAPSHOT_FETCH_SIZE |
private boolean |
useCatalogBeforeSchema |
COLUMN_BLACKLIST, DECIMAL_HANDLING_MODE, DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS, MSG_KEY_COLUMNS, SCHEMA_BLACKLIST, SCHEMA_WHITELIST, SERVER_NAME, SNAPSHOT_LOCK_TIMEOUT_MS, SNAPSHOT_SELECT_STATEMENT_OVERRIDES_BY_TABLE, TABLE_BLACKLIST, TABLE_IGNORE_BUILTIN, TABLE_WHITELIST, TIME_PRECISION_MODECUSTOM_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 |
HistorizedRelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
boolean useCatalogBeforeSchema) |
protected |
HistorizedRelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
Selectors.TableIdToStringMapper tableIdMapper,
boolean useCatalogBeforeSchema) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseHistory |
getDatabaseHistory()
Returns a configured (but not yet started) instance of the database history.
|
protected abstract HistoryRecordComparator |
getHistoryRecordComparator()
Returns a comparator to be used when recovering records from the schema history, making sure no history entries
newer than the offset we resume from are recovered (which could happen when restarting a connector after history
records have been persisted but no new offset has been committed yet).
|
getDecimalMode, getKeyMapper, getSnapshotSelectOverridesByTable, getTableFilters, getTemporalPrecisionMode, snapshotLockTimeoutcustomConverterRegistry, getConfig, getContextName, getEventProcessingFailureHandlingMode, getHeartbeatTopicsPrefix, getLogicalName, getMaxBatchSize, getMaxQueueSize, getPollInterval, getSanitizeFieldNames, getSkippedOps, getSnapshotDelay, getSnapshotFetchSize, getSourceInfoStructMaker, getSourceInfoStructMaker, isEmitTombstoneOnDelete, shouldProvideTransactionMetadata, validateServerNameIsDifferentFromHistoryTopicNameprotected static final int DEFAULT_SNAPSHOT_FETCH_SIZE
private boolean useCatalogBeforeSchema
public static final Field DATABASE_HISTORY
#configDef() since that is designed to work with a user interface,
and in these situations using Kafka is the only way to go.protected HistorizedRelationalDatabaseConnectorConfig(Configuration config, String logicalName, Tables.TableFilter systemTablesFilter, boolean useCatalogBeforeSchema)
protected HistorizedRelationalDatabaseConnectorConfig(Configuration config, String logicalName, Tables.TableFilter systemTablesFilter, Selectors.TableIdToStringMapper tableIdMapper, boolean useCatalogBeforeSchema)
public DatabaseHistory getDatabaseHistory()
protected abstract HistoryRecordComparator getHistoryRecordComparator()
Copyright © 2020 JBoss by Red Hat. All rights reserved.