public abstract class HistorizedRelationalDatabaseConnectorConfig extends RelationalDatabaseConnectorConfig
| 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. |
TABLE_BLACKLIST, TABLE_IGNORE_BUILTIN, TABLE_WHITELISTDATABASE_CONFIG_PREFIX, DEFAULT_MAX_BATCH_SIZE, DEFAULT_MAX_QUEUE_SIZE, DEFAULT_POLL_INTERVAL_MILLIS, MAX_BATCH_SIZE, MAX_QUEUE_SIZE, POLL_INTERVAL_MS, TOMBSTONES_ON_DELETE| Modifier | Constructor and Description |
|---|---|
protected |
HistorizedRelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter) |
protected |
HistorizedRelationalDatabaseConnectorConfig(Configuration config,
String logicalName,
Tables.TableFilter systemTablesFilter,
Selectors.TableIdToStringMapper tableIdMapper) |
| 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).
|
getTableFiltersgetConfig, getHeartbeatTopicsPrefix, getLogicalName, getMaxBatchSize, getMaxQueueSize, getPollInterval, isEmitTombstoneOnDelete, validateServerNameIsDifferentFromHistoryTopicNamepublic 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)
protected HistorizedRelationalDatabaseConnectorConfig(Configuration config, String logicalName, Tables.TableFilter systemTablesFilter, Selectors.TableIdToStringMapper tableIdMapper)
public DatabaseHistory getDatabaseHistory()
protected abstract HistoryRecordComparator getHistoryRecordComparator()
Copyright © 2018 JBoss by Red Hat. All rights reserved.