Class MongoDbConnectorConfig

java.lang.Object
io.debezium.config.CommonConnectorConfig
io.debezium.connector.mongodb.MongoDbConnectorConfig

public class MongoDbConnectorConfig extends CommonConnectorConfig
The configuration properties.
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • COLLECTION_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG

      protected static final String COLLECTION_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG
      See Also:
    • DATABASE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG

      protected static final String DATABASE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG
      See Also:
    • PATTERN_SPILT

      protected static final Pattern PATTERN_SPILT
    • FIELD_EXCLUDE_LIST_PATTERN

      protected static final Pattern FIELD_EXCLUDE_LIST_PATTERN
    • QUALIFIED_FIELD_EXCLUDE_LIST_PATTERN

      protected static final String QUALIFIED_FIELD_EXCLUDE_LIST_PATTERN
      See Also:
    • FIELD_RENAMES_PATTERN

      protected static final Pattern FIELD_RENAMES_PATTERN
    • QUALIFIED_FIELD_RENAMES_PATTERN

      protected static final String QUALIFIED_FIELD_RENAMES_PATTERN
      See Also:
    • ADMIN_DATABASE_NAME

      public static final String ADMIN_DATABASE_NAME
      See Also:
    • DEFAULT_SNAPSHOT_FETCH_SIZE

      protected static final int DEFAULT_SNAPSHOT_FETCH_SIZE
      See Also:
    • ALLOW_OFFSET_INVALIDATION

      public static final Field ALLOW_OFFSET_INVALIDATION
    • CONNECTION_STRING

      public static final Field CONNECTION_STRING
    • USER

      public static final Field USER
    • PASSWORD

      public static final Field PASSWORD
    • MONGODB_POLL_INTERVAL_MS

      public static final Field MONGODB_POLL_INTERVAL_MS
    • SSL_ENABLED

      public static final Field SSL_ENABLED
    • SSL_ALLOW_INVALID_HOSTNAMES

      public static final Field SSL_ALLOW_INVALID_HOSTNAMES
    • SSL_KEYSTORE

      public static final Field SSL_KEYSTORE
    • SSL_KEYSTORE_PASSWORD

      public static final Field SSL_KEYSTORE_PASSWORD
    • SSL_KEYSTORE_TYPE

      public static final Field SSL_KEYSTORE_TYPE
    • SSL_TRUSTSTORE

      public static final Field SSL_TRUSTSTORE
    • SSL_TRUSTSTORE_PASSWORD

      public static final Field SSL_TRUSTSTORE_PASSWORD
    • SSL_TRUSTSTORE_TYPE

      public static final Field SSL_TRUSTSTORE_TYPE
    • CONNECT_TIMEOUT_MS

      public static final Field CONNECT_TIMEOUT_MS
    • AUTH_SOURCE

      public static final Field AUTH_SOURCE
    • SERVER_SELECTION_TIMEOUT_MS

      public static final Field SERVER_SELECTION_TIMEOUT_MS
    • SOCKET_TIMEOUT_MS

      public static final Field SOCKET_TIMEOUT_MS
    • HEARTBEAT_FREQUENCY_MS

      public static final Field HEARTBEAT_FREQUENCY_MS
    • AUTH_PROVIDER_CLASS

      public static final Field AUTH_PROVIDER_CLASS
    • DATABASE_INCLUDE_LIST

      public static final Field DATABASE_INCLUDE_LIST
      A comma-separated list of regular expressions that match the databases to be monitored. Must not be used with DATABASE_EXCLUDE_LIST.
    • DATABASE_EXCLUDE_LIST

      public static final Field DATABASE_EXCLUDE_LIST
      A comma-separated list of regular expressions that match the databases to be excluded. Must not be used with DATABASE_INCLUDE_LIST.
    • COLLECTION_INCLUDE_LIST

      public static final Field COLLECTION_INCLUDE_LIST
      A comma-separated list of regular expressions that match the fully-qualified namespaces of collections to be monitored. Fully-qualified namespaces for collections are of the form <databaseName>.<collectionName>. Must not be used with COLLECTION_EXCLUDE_LIST.
    • COLLECTION_EXCLUDE_LIST

      public static final Field COLLECTION_EXCLUDE_LIST
      A comma-separated list of regular expressions that match the fully-qualified namespaces of collections to be excluded from monitoring. Fully-qualified namespaces for collections are of the form <databaseName>.<collectionName>. Must not be used with COLLECTION_INCLUDE_LIST.
    • FILTERS_MATCH_MODE

      public static final Field FILTERS_MATCH_MODE
    • FIELD_EXCLUDE_LIST

      public static final Field FIELD_EXCLUDE_LIST
      A comma-separated list of the fully-qualified names of fields that should be excluded from change event message values. Fully-qualified names for fields are of the form <databaseName>.<collectionName>.<fieldName>.<nestedFieldName>, where <databaseName> and <collectionName> may contain the wildcard (*) which matches any characters.
    • FIELD_RENAMES

      public static final Field FIELD_RENAMES
      A comma-separated list of the fully-qualified replacements of fields that should be used to rename fields in change event message values. Fully-qualified replacements for fields are of the form <databaseName>.<collectionName>.<fieldName>.<nestedFieldName>:<newNestedFieldName>, where <databaseName> and <collectionName> may contain the wildcard (*) which matches any characters, the colon character (:) is used to determine rename mapping of field.
    • CAPTURE_MODE

      public static final Field CAPTURE_MODE
    • CAPTURE_MODE_FULL_UPDATE_TYPE

      public static final Field CAPTURE_MODE_FULL_UPDATE_TYPE
    • CAPTURE_SCOPE

      public static final Field CAPTURE_SCOPE
    • CAPTURE_TARGET

      public static final Field CAPTURE_TARGET
    • TASK_ID

      protected static final Field TASK_ID
    • SNAPSHOT_MODE

      public static final Field SNAPSHOT_MODE
    • SNAPSHOT_FILTER_QUERY_BY_COLLECTION

      public static final Field SNAPSHOT_FILTER_QUERY_BY_COLLECTION
    • CURSOR_MAX_AWAIT_TIME_MS

      public static final Field CURSOR_MAX_AWAIT_TIME_MS
    • CURSOR_PIPELINE

      public static final Field CURSOR_PIPELINE
    • CURSOR_PIPELINE_ORDER

      public static final Field CURSOR_PIPELINE_ORDER
    • CURSOR_OVERSIZE_HANDLING_MODE

      public static final Field CURSOR_OVERSIZE_HANDLING_MODE
    • CURSOR_OVERSIZE_SKIP_THRESHOLD

      public static final Field CURSOR_OVERSIZE_SKIP_THRESHOLD
    • TOPIC_NAMING_STRATEGY

      public static final Field TOPIC_NAMING_STRATEGY
    • SOURCE_INFO_STRUCT_MAKER

      public static final Field SOURCE_INFO_STRUCT_MAKER
    • CONFIG_DEFINITION

      private static final ConfigDefinition CONFIG_DEFINITION
    • ALL_FIELDS

      public static Field.Set ALL_FIELDS
      The set of Fields defined as part of this configuration.
    • snapshotMode

      private final MongoDbConnectorConfig.SnapshotMode snapshotMode
    • captureMode

      private final MongoDbConnectorConfig.CaptureMode captureMode
    • captureModeFullUpdateType

      private final MongoDbConnectorConfig.FullUpdateType captureModeFullUpdateType
    • captureScope

      private final MongoDbConnectorConfig.CaptureScope captureScope
    • captureTarget

      private final String captureTarget
    • offsetInvalidationAllowed

      private final boolean offsetInvalidationAllowed
    • snapshotMaxThreads

      private final int snapshotMaxThreads
    • cursorMaxAwaitTimeMs

      private final int cursorMaxAwaitTimeMs
    • connectionString

      private final com.mongodb.ConnectionString connectionString
    • user

      private final String user
    • password

      private final String password
    • authSource

      private final String authSource
    • authProvider

      private final MongoDbAuthProvider authProvider
    • sslEnabled

      private final boolean sslEnabled
    • sslAllowInvalidHostnames

      private final boolean sslAllowInvalidHostnames
    • sslKeyStore

      private final String sslKeyStore
    • sslKeyStorePassword

      private final String sslKeyStorePassword
    • sslKeyStoreType

      private final String sslKeyStoreType
    • sslTrustStore

      private final String sslTrustStore
    • sslTrustStorePassword

      private final String sslTrustStorePassword
    • sslTrustStoreType

      private final String sslTrustStoreType
    • connectTimeoutMs

      private final int connectTimeoutMs
    • heartbeatFrequencyMs

      private final int heartbeatFrequencyMs
    • socketTimeoutMs

      private final int socketTimeoutMs
    • serverSelectionTimeoutMs

      private final int serverSelectionTimeoutMs
    • cursorPipelineOrder

      private final MongoDbConnectorConfig.CursorPipelineOrder cursorPipelineOrder
    • oversizeHandlingMode

      private final MongoDbConnectorConfig.OversizeHandlingMode oversizeHandlingMode
    • filtersMatchMode

      private final MongoDbConnectorConfig.FiltersMatchMode filtersMatchMode
    • oversizeSkipThreshold

      private final int oversizeSkipThreshold
  • Constructor Details

    • MongoDbConnectorConfig

      public MongoDbConnectorConfig(Configuration config)
  • Method Details