Class Db2ConnectorConfig


  • public class Db2ConnectorConfig
    extends io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
    The list of configuration options for DB2 connector
    Author:
    Jiri Pechanec, Luis Garcés-Erice
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Db2ConnectorConfig.SnapshotIsolationMode
      The set of predefined snapshot isolation mode options.
      static class  Db2ConnectorConfig.SnapshotMode
      The set of predefined SnapshotMode options or aliases.
      private static class  Db2ConnectorConfig.SystemTablesPredicate  
      • Nested classes/interfaces inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig

        io.debezium.relational.RelationalDatabaseConnectorConfig.DecimalHandlingMode
      • Nested classes/interfaces inherited from class io.debezium.config.CommonConnectorConfig

        io.debezium.config.CommonConnectorConfig.BinaryHandlingMode, io.debezium.config.CommonConnectorConfig.EventProcessingFailureHandlingMode, io.debezium.config.CommonConnectorConfig.Version
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.debezium.config.Field.Set ALL_FIELDS
      The set of Fields defined as part of this configuration.
      private String databaseName  
      protected static int DEFAULT_PORT  
      static io.debezium.config.Field PORT  
      static io.debezium.config.Field SERVER_NAME  
      static io.debezium.config.Field SNAPSHOT_ISOLATION_MODE  
      static io.debezium.config.Field SNAPSHOT_MODE  
      private Db2ConnectorConfig.SnapshotIsolationMode snapshotIsolationMode  
      private Db2ConnectorConfig.SnapshotMode snapshotMode  
      • Fields inherited from class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig

        CONFIG_DEFINITION, DATABASE_HISTORY, DEFAULT_SNAPSHOT_FETCH_SIZE
      • Fields inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig

        COLUMN_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_PATTERN, 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, USER
      • Fields inherited from class io.debezium.config.CommonConnectorConfig

        BINARY_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, INCREMENTAL_SNAPSHOT_CHUNK_SIZE, 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 Summary

      Constructors 
      Constructor Description
      Db2ConnectorConfig​(io.debezium.config.Configuration config)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.kafka.common.config.ConfigDef configDef()  
      String getConnectorName()  
      String getContextName()  
      String getDatabaseName()  
      protected io.debezium.relational.history.HistoryRecordComparator getHistoryRecordComparator()  
      Db2ConnectorConfig.SnapshotIsolationMode getSnapshotIsolationMode()  
      Db2ConnectorConfig.SnapshotMode getSnapshotMode()  
      Map<io.debezium.relational.TableId,​String> getSnapshotSelectOverridesByTable()
      Returns any SELECT overrides, if present.
      protected io.debezium.connector.SourceInfoStructMaker<? extends io.debezium.connector.AbstractSourceInfo> getSourceInfoStructMaker​(io.debezium.config.CommonConnectorConfig.Version version)  
      • Methods inherited from class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig

        getDatabaseHistory, useCatalogBeforeSchema
      • Methods inherited from class io.debezium.relational.RelationalDatabaseConnectorConfig

        getColumnFilter, getDecimalMode, getKeyMapper, getTableFilters, getTableIdMapper, getTemporalPrecisionMode, isFullColummnScanRequired, isSchemaChangesHistoryEnabled, schemaExcludeList, schemaIncludeList, snapshotLockTimeout, tableExcludeList, tableIncludeList
      • Methods inherited from class io.debezium.config.CommonConnectorConfig

        binaryHandlingMode, customConverterRegistry, getConfig, getDataCollectionsToBeSnapshotted, getEventProcessingFailureHandlingMode, getHeartbeatTopicsPrefix, getIncrementalSnashotChunkSize, getLogicalName, getMaxBatchSize, getMaxQueueSize, getMaxQueueSizeInBytes, getPollInterval, getQueryFetchSize, getRetriableRestartWait, getSanitizeFieldNames, getSignalingDataCollectionId, getSkippedOperations, getSnapshotDelay, getSnapshotFetchSize, getSnapshotMaxThreads, getSourceInfoStructMaker, isEmitTombstoneOnDelete, shouldProvideTransactionMetadata, supportsOperationFiltering, validate, validateAndRecord, validateServerNameIsDifferentFromHistoryTopicName
    • Field Detail

      • PORT

        public static final io.debezium.config.Field PORT
      • SERVER_NAME

        public static final io.debezium.config.Field SERVER_NAME
      • SNAPSHOT_MODE

        public static final io.debezium.config.Field SNAPSHOT_MODE
      • SNAPSHOT_ISOLATION_MODE

        public static final io.debezium.config.Field SNAPSHOT_ISOLATION_MODE
      • ALL_FIELDS

        public static io.debezium.config.Field.Set ALL_FIELDS
        The set of Fields defined as part of this configuration.
      • databaseName

        private final String databaseName
    • Constructor Detail

      • Db2ConnectorConfig

        public Db2ConnectorConfig​(io.debezium.config.Configuration config)
    • Method Detail

      • configDef

        public static org.apache.kafka.common.config.ConfigDef configDef()
      • getDatabaseName

        public String getDatabaseName()
      • getSourceInfoStructMaker

        protected io.debezium.connector.SourceInfoStructMaker<? extends io.debezium.connector.AbstractSourceInfo> getSourceInfoStructMaker​(io.debezium.config.CommonConnectorConfig.Version version)
        Specified by:
        getSourceInfoStructMaker in class io.debezium.config.CommonConnectorConfig
      • getHistoryRecordComparator

        protected io.debezium.relational.history.HistoryRecordComparator getHistoryRecordComparator()
        Specified by:
        getHistoryRecordComparator in class io.debezium.relational.HistorizedRelationalDatabaseConnectorConfig
      • getContextName

        public String getContextName()
        Specified by:
        getContextName in class io.debezium.config.CommonConnectorConfig
      • getSnapshotSelectOverridesByTable

        public Map<io.debezium.relational.TableId,​String> getSnapshotSelectOverridesByTable()
        Returns any SELECT overrides, if present.
        Overrides:
        getSnapshotSelectOverridesByTable in class io.debezium.relational.RelationalDatabaseConnectorConfig
      • getConnectorName

        public String getConnectorName()
        Specified by:
        getConnectorName in class io.debezium.config.CommonConnectorConfig