public class PostgresConnectorConfig extends RelationalDatabaseConnectorConfig
PostgresConnector| Modifier and Type | Class and Description |
|---|---|
static class |
PostgresConnectorConfig.AutoCreateMode |
static class |
PostgresConnectorConfig.HStoreHandlingMode
The set of predefined HStoreHandlingMode options or aliases
|
static class |
PostgresConnectorConfig.IntervalHandlingMode
Defines modes of representation of
interval datatype |
static class |
PostgresConnectorConfig.LogicalDecoder |
static class |
PostgresConnectorConfig.SchemaRefreshMode
The set of predefined SchemaRefreshMode options or aliases.
|
static class |
PostgresConnectorConfig.SecureConnectionMode
The set of predefined SecureConnectionMode options or aliases.
|
static class |
PostgresConnectorConfig.SnapshotMode
The set of predefined Snapshotter options or aliases.
|
private static class |
PostgresConnectorConfig.SystemTablesPredicate |
static class |
PostgresConnectorConfig.TruncateHandlingMode
The set of predefined TruncateHandlingMode options or aliases
|
RelationalDatabaseConnectorConfig.DecimalHandlingModeCommonConnectorConfig.BinaryHandlingMode, CommonConnectorConfig.EventProcessingFailureHandlingMode, CommonConnectorConfig.VersionCOLUMN_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, HOSTNAME, 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, SERVER_NAME, 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, 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_BATCH_SIZE, 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 |
|---|
PostgresConnectorConfig(Configuration config) |
getColumnFilter, 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, validateServerNameIsDifferentFromHistoryTopicNameprotected static final String DATABASE_CONFIG_PREFIX
protected static final int DEFAULT_PORT
protected static final int DEFAULT_SNAPSHOT_FETCH_SIZE
protected static final int DEFAULT_MAX_RETRIES
public static final Field PORT
public static final Field PLUGIN_NAME
public static final Field SLOT_NAME
public static final Field DROP_SLOT_ON_STOP
public static final Field PUBLICATION_NAME
public static final Field PUBLICATION_AUTOCREATE_MODE
public static final Field STREAM_PARAMS
public static final Field MAX_RETRIES
public static final Field RETRY_DELAY_MS
public static final Field ON_CONNECT_STATEMENTS
public static final Field SSL_MODE
public static final Field SSL_CLIENT_CERT
public static final Field SSL_CLIENT_KEY
public static final Field SSL_CLIENT_KEY_PASSWORD
public static final Field SSL_ROOT_CERT
public static final Field SSL_SOCKET_FACTORY
public static final Field SNAPSHOT_MODE
public static final Field SNAPSHOT_MODE_CLASS
public static final Field TRUNCATE_HANDLING_MODE
public static final Field HSTORE_HANDLING_MODE
public static final Field INTERVAL_HANDLING_MODE
public static final Field STATUS_UPDATE_INTERVAL_MS
public static final Field TCP_KEEPALIVE
public static final Field INCLUDE_UNKNOWN_DATATYPES
public static final Field SCHEMA_REFRESH_MODE
public static final Field XMIN_FETCH_INTERVAL
public static final Field TOASTED_VALUE_PLACEHOLDER
private final PostgresConnectorConfig.TruncateHandlingMode truncateHandlingMode
private final PostgresConnectorConfig.HStoreHandlingMode hStoreHandlingMode
private final PostgresConnectorConfig.IntervalHandlingMode intervalHandlingMode
private final PostgresConnectorConfig.SnapshotMode snapshotMode
private final PostgresConnectorConfig.SchemaRefreshMode schemaRefreshMode
private static final ConfigDefinition CONFIG_DEFINITION
public PostgresConnectorConfig(Configuration config)
protected String hostname()
protected int port()
public String databaseName()
protected PostgresConnectorConfig.LogicalDecoder plugin()
protected String slotName()
protected boolean dropSlotOnStop()
protected String publicationName()
protected PostgresConnectorConfig.AutoCreateMode publicationAutocreateMode()
protected String streamParams()
protected int maxRetries()
protected Duration retryDelay()
protected Duration statusUpdateInterval()
protected PostgresConnectorConfig.TruncateHandlingMode truncateHandlingMode()
protected PostgresConnectorConfig.HStoreHandlingMode hStoreHandlingMode()
protected PostgresConnectorConfig.IntervalHandlingMode intervalHandlingMode()
protected boolean includeUnknownDatatypes()
public Configuration jdbcConfig()
protected Snapshotter getSnapshotter()
protected boolean skipRefreshSchemaOnMissingToastableData()
protected Duration xminFetchInterval()
protected byte[] toastedValuePlaceholder()
protected SourceInfoStructMaker<? extends AbstractSourceInfo> getSourceInfoStructMaker(CommonConnectorConfig.Version version)
getSourceInfoStructMaker in class CommonConnectorConfigpublic static org.apache.kafka.common.config.ConfigDef configDef()
private static int validateReplicationSlotName(Configuration config, Field field, Field.ValidationOutput problems)
private static int validateTruncateHandlingMode(Configuration config, Field field, Field.ValidationOutput problems)
public String getContextName()
getContextName in class CommonConnectorConfigpublic String getConnectorName()
getConnectorName in class CommonConnectorConfigCopyright © 2021 JBoss by Red Hat. All rights reserved.