public class OracleConnectorConfig extends HistorizedRelationalDatabaseConnectorConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
OracleConnectorConfig.ConnectorAdapter |
static class |
OracleConnectorConfig.LogMiningDmlParser |
static class |
OracleConnectorConfig.LogMiningStrategy |
static class |
OracleConnectorConfig.SnapshotMode
The set of predefined SnapshotMode options or aliases.
|
private static class |
OracleConnectorConfig.SystemTablesPredicate
A
Tables.TableFilter that excludes all Oracle system tables. |
RelationalDatabaseConnectorConfig.DecimalHandlingModeCommonConnectorConfig.BinaryHandlingMode, CommonConnectorConfig.EventProcessingFailureHandlingMode, CommonConnectorConfig.VersionDATABASE_HISTORY, DEFAULT_SNAPSHOT_FETCH_SIZECOLUMN_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_NAME, DATABASE_WHITELIST, DATABASE_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG, DATABASE_WHITELIST_NAME, DECIMAL_HANDLING_MODE, DEFAULT_SNAPSHOT_LOCK_TIMEOUT_MILLIS, INCLUDE_SCHEMA_CHANGES, 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, 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, USERBINARY_HANDLING_MODE, CUSTOM_CONVERTERS, 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, MAX_QUEUE_SIZE, MAX_QUEUE_SIZE_IN_BYTES, POLL_INTERVAL_MS, PROVIDE_TRANSACTION_METADATA, QUERY_FETCH_SIZE, RETRIABLE_RESTART_WAIT, SANITIZE_FIELD_NAMES, SIGNAL_DATA_COLLECTION, SKIPPED_OPERATIONS, SNAPSHOT_DELAY_MS, SNAPSHOT_FETCH_SIZE, SNAPSHOT_MAX_THREADS, SNAPSHOT_MODE_TABLES, SOURCE_STRUCT_MAKER_VERSION, TOMBSTONES_ON_DELETE| Constructor and Description |
|---|
OracleConnectorConfig(Configuration config) |
getDatabaseHistory, useCatalogBeforeSchemagetColumnFilter, getDecimalMode, getKeyMapper, getSnapshotSelectOverridesByTable, getTableFilters, getTableIdMapper, getTemporalPrecisionMode, isFullColummnScanRequired, isSchemaChangesHistoryEnabled, schemaExcludeList, schemaIncludeList, snapshotLockTimeout, tableExcludeList, tableIncludeListbinaryHandlingMode, customConverterRegistry, getConfig, getDataCollectionsToBeSnapshotted, getEventProcessingFailureHandlingMode, getHeartbeatTopicsPrefix, getLogicalName, getMaxBatchSize, getMaxQueueSize, getMaxQueueSizeInBytes, getPollInterval, getQueryFetchSize, getRetriableRestartWait, getSanitizeFieldNames, getSignalingDataCollectionId, getSkippedOps, getSnapshotDelay, getSnapshotFetchSize, getSnapshotMaxThreads, getSourceInfoStructMaker, isEmitTombstoneOnDelete, shouldProvideTransactionMetadata, validate, validateAndRecord, validateServerNameIsDifferentFromHistoryTopicNameprivate static final org.slf4j.Logger LOGGER
protected static final int DEFAULT_PORT
protected static final int DEFAULT_VIEW_FETCH_SIZE
protected static final int DEFAULT_BATCH_SIZE
protected static final int MIN_BATCH_SIZE
protected static final int MAX_BATCH_SIZE
protected static final Duration MAX_SLEEP_TIME
protected static final Duration DEFAULT_SLEEP_TIME
protected static final Duration MIN_SLEEP_TIME
protected static final Duration SLEEP_TIME_INCREMENT
public static final Field PORT
public static final Field HOSTNAME
public static final Field PDB_NAME
public static final Field XSTREAM_SERVER_NAME
public static final Field SNAPSHOT_MODE
@Deprecated public static final Field TABLENAME_CASE_INSENSITIVE
public static final Field ORACLE_VERSION
public static final Field SERVER_NAME
public static final Field CONNECTOR_ADAPTER
public static final Field LOG_MINING_STRATEGY
public static final Field CONTINUOUS_MINE
public static final Field SNAPSHOT_ENHANCEMENT_TOKEN
public static final Field LOG_MINING_HISTORY_RECORDER_CLASS
public static final Field LOG_MINING_HISTORY_RETENTION
public static final Field LOG_MINING_TRANSACTION_RETENTION
public static final Field RAC_SYSTEM
public static final Field RAC_NODES
public static final Field URL
public static final Field LOG_MINING_DML_PARSER
public static final Field LOG_MINING_ARCHIVE_LOG_HOURS
public static final Field LOG_MINING_BATCH_SIZE_MIN
public static final Field LOG_MINING_BATCH_SIZE_DEFAULT
public static final Field LOG_MINING_BATCH_SIZE_MAX
public static final Field LOG_MINING_VIEW_FETCH_SIZE
public static final Field LOG_MINING_SLEEP_TIME_MIN_MS
public static final Field LOG_MINING_SLEEP_TIME_DEFAULT_MS
public static final Field LOG_MINING_SLEEP_TIME_MAX_MS
public static final Field LOG_MINING_SLEEP_TIME_INCREMENT_MS
private static final ConfigDefinition CONFIG_DEFINITION
public static Field.Set ALL_FIELDS
Fields defined as part of this configuration.private final String databaseName
private final String pdbName
private final String xoutServerName
private final OracleConnectorConfig.SnapshotMode snapshotMode
private final Boolean tablenameCaseInsensitive
private final String oracleVersion
private final HistoryRecorder logMiningHistoryRecorder
private final Configuration jdbcConfig
private final OracleConnectorConfig.ConnectorAdapter connectorAdapter
private final String snapshotEnhancementToken
private final OracleConnectorConfig.LogMiningStrategy logMiningStrategy
private final long logMiningHistoryRetentionHours
private final boolean logMiningContinuousMine
private final Duration logMiningArchiveLogRetention
private final int logMiningBatchSizeMin
private final int logMiningBatchSizeMax
private final int logMiningBatchSizeDefault
private final int logMiningViewFetchSize
private final Duration logMiningSleepTimeMin
private final Duration logMiningSleepTimeMax
private final Duration logMiningSleepTimeDefault
private final Duration logMiningSleepTimeIncrement
private final Duration logMiningTransactionRetention
private final OracleConnectorConfig.LogMiningDmlParser dmlParser
public OracleConnectorConfig(Configuration config)
public static org.apache.kafka.common.config.ConfigDef configDef()
private static HistoryRecorder resolveLogMiningHistoryRecorder(Configuration config)
public String getDatabaseName()
public String getPdbName()
public String getCatalogName()
public String getXoutServerName()
public OracleConnectorConfig.SnapshotMode getSnapshotMode()
public Optional<Boolean> getTablenameCaseInsensitive()
null
which indicates the connector configuration does not specify a value and should therefore
be resolved by the OracleConnection.null.public String getOracleVersion()
protected HistoryRecordComparator getHistoryRecordComparator()
getHistoryRecordComparator in class HistorizedRelationalDatabaseConnectorConfigprotected SourceInfoStructMaker<? extends AbstractSourceInfo> getSourceInfoStructMaker(CommonConnectorConfig.Version version)
getSourceInfoStructMaker in class CommonConnectorConfigpublic String getContextName()
getContextName in class CommonConnectorConfigpublic OracleConnectorConfig.ConnectorAdapter getAdapter()
public OracleConnectorConfig.LogMiningStrategy getLogMiningStrategy()
public Boolean isLogMiningHistoryRecorded()
public HistoryRecorder getLogMiningHistoryRecorder()
public long getLogMinerHistoryRetentionHours()
public Boolean isRacSystem()
public Set<String> getRacNodes()
public String getTokenToReplaceInSnapshotPredicate()
public boolean isContinuousMining()
public Duration getLogMiningArchiveLogRetention()
public int getLogMiningBatchSizeMin()
public int getLogMiningViewFetchSize()
public int getLogMiningBatchSizeMax()
public int getLogMiningBatchSizeDefault()
public Duration getLogMiningSleepTimeMin()
public Duration getLogMiningSleepTimeMax()
public Duration getLogMiningSleepTimeDefault()
public Duration getLogMiningSleepTimeIncrement()
public Duration getLogMiningTransactionRetention()
public OracleConnectorConfig.LogMiningDmlParser getLogMiningDmlParser()
public Configuration jdbcConfig()
public String getConnectorName()
getConnectorName in class CommonConnectorConfigpublic static int validateOutServerName(Configuration config, Field field, Field.ValidationOutput problems)
public static int requiredWhenNoUrl(Configuration config, Field field, Field.ValidationOutput problems)
public static int requiredWhenNoHostname(Configuration config, Field field, Field.ValidationOutput problems)
private static Boolean resolveTableNameCaseInsensitivity(Configuration config)
Copyright © 2021 JBoss by Red Hat. All rights reserved.