Class MongoDbConnectorConfig

    • Field Detail

      • 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:
        Constant Field Values
      • COLLECTION_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG

        protected static final String COLLECTION_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG
        See Also:
        Constant Field Values
      • DATABASE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG

        protected static final String DATABASE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG
        See Also:
        Constant Field Values
      • DATABASE_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG

        protected static final String DATABASE_WHITELIST_ALREADY_SPECIFIED_ERROR_MSG
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • FIELD_RENAMES_PATTERN

        protected static final Pattern FIELD_RENAMES_PATTERN
      • DEFAULT_SNAPSHOT_FETCH_SIZE

        protected static final int DEFAULT_SNAPSHOT_FETCH_SIZE
        See Also:
        Constant Field Values
      • HOSTS

        public static final Field HOSTS
        The comma-separated list of hostname and port pairs (in the form 'host' or 'host:port') of the MongoDB servers in the replica set.
      • LOGICAL_NAME

        public static final Field LOGICAL_NAME
      • USER

        public static final Field USER
      • PASSWORD

        public static final Field PASSWORD
      • AUTH_SOURCE

        public static final Field AUTH_SOURCE
      • POLL_INTERVAL_SEC

        @Deprecated
        public static final Field POLL_INTERVAL_SEC
        Deprecated.
      • 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
      • MAX_COPY_THREADS

        @Deprecated
        public static final Field MAX_COPY_THREADS
        Deprecated.
      • CONNECT_BACKOFF_INITIAL_DELAY_MS

        public static final Field CONNECT_BACKOFF_INITIAL_DELAY_MS
      • CONNECT_BACKOFF_MAX_DELAY_MS

        public static final Field CONNECT_BACKOFF_MAX_DELAY_MS
      • MAX_FAILED_CONNECTIONS

        public static final Field MAX_FAILED_CONNECTIONS
      • AUTO_DISCOVER_MEMBERS

        public static final Field AUTO_DISCOVER_MEMBERS
      • 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_WHITELIST

        @Deprecated
        public static final Field DATABASE_WHITELIST
        Deprecated.
        Old, backwards-compatible "whitelist" property.
      • 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.
      • DATABASE_BLACKLIST

        @Deprecated
        public static final Field DATABASE_BLACKLIST
        Deprecated.
        Old, backwards-compatible "blacklist" property.
      • 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_WHITELIST

        @Deprecated
        public static final Field COLLECTION_WHITELIST
        Deprecated.
        Old, backwards-compatible "whitelist" property.
      • 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.
      • COLLECTION_BLACKLIST

        @Deprecated
        public static final Field COLLECTION_BLACKLIST
        Deprecated.
        Old, backwards-compatible "blacklist" property.
      • 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_BLACKLIST

        @Deprecated
        public static final Field FIELD_BLACKLIST
        Deprecated.
        Old, backwards-compatible "blacklist" property.
      • 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.
      • SNAPSHOT_MODE

        public static final Field SNAPSHOT_MODE
      • CAPTURE_MODE

        public static final Field CAPTURE_MODE
      • CONNECT_TIMEOUT_MS

        public static final Field CONNECT_TIMEOUT_MS
      • SERVER_SELECTION_TIMEOUT_MS

        public static final Field SERVER_SELECTION_TIMEOUT_MS
      • SOCKET_TIMEOUT_MS

        public static final Field SOCKET_TIMEOUT_MS
      • TASK_ID

        protected static final Field TASK_ID
      • 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
      • ALL_FIELDS

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

        protected static Field.Set EXPOSED_FIELDS
      • snapshotMaxThreads

        private final int snapshotMaxThreads
      • cursorMaxAwaitTimeMs

        private final int cursorMaxAwaitTimeMs
    • Constructor Detail

      • MongoDbConnectorConfig

        public MongoDbConnectorConfig​(Configuration config)