- checkFieldExists(Document, String) - Method in class io.debezium.connector.mongodb.FieldSelector.Path
-
- clear() - Method in class io.debezium.connector.mongodb.MongoClients
-
Clear out and close any open connections.
- clear() - Method in class io.debezium.connector.mongodb.RecordMakers
-
Clear all of the cached record makers.
- clientFor(String) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- clientFor(List<ServerAddress>) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- clientFor(String) - Method in class io.debezium.connector.mongodb.MongoClients
-
Obtain a direct client connection to the specified server.
- clientFor(ServerAddress) - Method in class io.debezium.connector.mongodb.MongoClients
-
Obtain a direct client connection to the specified server.
- clientForMembers(String) - Method in class io.debezium.connector.mongodb.MongoClients
-
Obtain a client connection to the replica set or cluster.
- clientForMembers(ServerAddress...) - Method in class io.debezium.connector.mongodb.MongoClients
-
Obtain a client connection to the replica set or cluster.
- clientForMembers(List<ServerAddress>) - Method in class io.debezium.connector.mongodb.MongoClients
-
Obtain a client connection to the replica set or cluster.
- clientForPrimary(ReplicaSet) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
Obtain a client that talks only to the primary node of the replica set.
- clientForReplicaSet(ReplicaSet) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- clients() - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- clock - Variable in class io.debezium.connector.mongodb.Replicator
-
- close() - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- close() - Method in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- COLLECTION - Static variable in class io.debezium.connector.mongodb.SourceInfo
-
- COLLECTION_BLACKLIST - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
A comma-separated list of regular expressions that match the fully-qualified namespaces of collections to be excluded from
monitoring.
- COLLECTION_WHITELIST - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
A comma-separated list of regular expressions that match the fully-qualified namespaces of collections to be monitored.
- collectionEvent(String, CollectionId) - Method in class io.debezium.connector.mongodb.SourceInfo
-
Get a
Struct representation of the source
partition and
offset information where we have last read.
- collectionFilter - Variable in class io.debezium.connector.mongodb.Filters
-
- collectionFilter() - Method in class io.debezium.connector.mongodb.Filters
-
Get the predicate function that determines whether the given collection is to be included.
- CollectionId - Class in io.debezium.connector.mongodb
-
A simple identifier for collections in a replica set.
- CollectionId(String, String, String) - Constructor for class io.debezium.connector.mongodb.CollectionId
-
Create a new collection identifier.
- collectionId - Variable in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
- collectionId() - Method in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
Get the identifier of the collection to which this producer applies.
- collectionId - Variable in class io.debezium.connector.mongodb.SourceInfo
-
Id of collection the current event applies to.
- collectionId() - Method in class io.debezium.connector.mongodb.SourceInfo
-
- collections() - Method in class io.debezium.connector.mongodb.ConnectionContext.MongoPrimary
-
Use the primary to get the identifiers of all the collections in the replica set, applying the current
collection filter configuration.
- COLON - Static variable in class io.debezium.connector.mongodb.FieldSelector
-
- compare(ServerAddress, ServerAddress) - Static method in class io.debezium.connector.mongodb.ReplicaSet
-
- compareNullable(String, String) - Static method in class io.debezium.connector.mongodb.ReplicaSet
-
- compareServerAddresses(ServerAddress, ServerAddress) - Static method in class io.debezium.connector.mongodb.ReplicaSet
-
- compareTo(ReplicaSet) - Method in class io.debezium.connector.mongodb.ReplicaSet
-
- config - Variable in class io.debezium.connector.mongodb.ConnectionContext
-
- config - Variable in class io.debezium.connector.mongodb.MongoDbConnector
-
- config() - Method in class io.debezium.connector.mongodb.MongoDbConnector
-
- config() - Method in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- CONFIG_DATABASE_NAME - Static variable in class io.debezium.connector.mongodb.ReplicaSetDiscovery
-
The database that might be used to check for replica set information in a sharded cluster.
- configDef() - Static method in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- configure(Map<String, ?>) - Method in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- CONNECT_BACKOFF_INITIAL_DELAY_MS - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- CONNECT_BACKOFF_MAX_DELAY_MS - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- connection(List<ServerAddress>) - Method in class io.debezium.connector.mongodb.MongoClients
-
- ConnectionContext - Class in io.debezium.connector.mongodb
-
- ConnectionContext(Configuration) - Constructor for class io.debezium.connector.mongodb.ConnectionContext
-
- connectionContext - Variable in class io.debezium.connector.mongodb.MongoDbConnector
-
- connectionContext - Variable in class io.debezium.connector.mongodb.MongoDbTaskContext
-
- ConnectionContext.MongoPrimary - Class in io.debezium.connector.mongodb
-
A supplier of a client that connects only to the primary of a replica set.
- ConnectionContext.PrimaryConnectFailed - Interface in io.debezium.connector.mongodb
-
- connections - Variable in class io.debezium.connector.mongodb.MongoClients
-
- connectorConfig - Variable in class io.debezium.connector.mongodb.MongoDbTaskContext
-
- contains(MongoIterable<String>, String) - Static method in class io.debezium.connector.mongodb.MongoUtil
-
Determine if the supplied MongoIterable contains an element that is equal to the supplied value.
- contains(MongoIterable<T>, Predicate<T>) - Static method in class io.debezium.connector.mongodb.MongoUtil
-
Determine if the supplied MongoIterable contains at least one element that satisfies the given predicate.
- context - Variable in class io.debezium.connector.mongodb.ReplicaSetDiscovery
-
- context - Variable in class io.debezium.connector.mongodb.Replicator
-
- CONTEXT_NAME - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- contextName() - Static method in class io.debezium.connector.mongodb.Module
-
- converter - Variable in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- convertFieldValue(Map.Entry<String, BsonValue>, Struct, Schema) - Method in class io.debezium.connector.mongodb.transforms.MongoDataConverter
-
- convertRecord(Map.Entry<String, BsonValue>, Schema, Struct) - Method in class io.debezium.connector.mongodb.transforms.MongoDataConverter
-
- copyCollection(CollectionId, long) - Method in class io.debezium.connector.mongodb.Replicator
-
Copy the collection, sending to the recorder a record for each document.
- copyCollection(MongoClient, CollectionId, long) - Method in class io.debezium.connector.mongodb.Replicator
-
Copy the collection, sending to the recorder a record for each document.
- copyThreads - Variable in class io.debezium.connector.mongodb.Replicator
-
- create() - Static method in class io.debezium.connector.mongodb.MongoClients
-
Obtain a builder that can be used to configure and
create a connection pool.
- createRecords(Struct, Map<String, ?>, Envelope.Operation, String, Document, long) - Method in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
- credentials - Variable in class io.debezium.connector.mongodb.MongoClients.Builder
-
- credentials - Variable in class io.debezium.connector.mongodb.MongoClients
-
- current - Variable in class io.debezium.connector.mongodb.Replicator.BufferableRecorder
-
- parse(String) - Static method in class io.debezium.connector.mongodb.CollectionId
-
Parse the supplied string, extracting the first 3 parts into a Collection.
- parse(String, Function<String, FieldSelector.Path>, List<FieldSelector.Path>) - Method in class io.debezium.connector.mongodb.FieldSelector.FieldSelectorBuilder
-
- parse(String) - Static method in enum io.debezium.connector.mongodb.MongoDbConnectorConfig.SnapshotMode
-
Determine if the supplied value is one of the predefined options.
- parse(String, String) - Static method in enum io.debezium.connector.mongodb.MongoDbConnectorConfig.SnapshotMode
-
Determine if the supplied value is one of the predefined options.
- parse(String) - Static method in class io.debezium.connector.mongodb.ReplicaSet
-
Parse the supplied string for the information about the hosts for a replica set.
- parse(String) - Static method in class io.debezium.connector.mongodb.ReplicaSets
-
Parse the supplied string for the information about the replica set hosts.
- parse(String) - Static method in enum io.debezium.connector.mongodb.transforms.ExtractNewDocumentState.ArrayEncoding
-
Determine if the supplied value is one of the predefined options.
- parse(String, String) - Static method in enum io.debezium.connector.mongodb.transforms.ExtractNewDocumentState.ArrayEncoding
-
Determine if the supplied value is one of the predefined options.
- parseAddress(String) - Static method in class io.debezium.connector.mongodb.MongoUtil
-
Parse the server address string, of the form host:port or host.
- parseAddresses(String) - Static method in class io.debezium.connector.mongodb.MongoUtil
-
Parse the comma-separated list of server addresses.
- parseIntoParts(String, String, Predicate<Integer>, Pattern) - Method in class io.debezium.connector.mongodb.FieldSelector.FieldSelectorBuilder
-
- partition(String) - Method in class io.debezium.connector.mongodb.SourceInfo
-
Get the Kafka Connect detail about the source "partition" for the given database in the replica set.
- PASSWORD - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- patchExtractor - Variable in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- Path(Pattern, String[]) - Constructor for class io.debezium.connector.mongodb.FieldSelector.Path
-
- paths - Variable in class io.debezium.connector.mongodb.FieldSelector
-
The configured exclusion/renaming patterns.
- PAUSE_AFTER_ERROR - Static variable in class io.debezium.connector.mongodb.ConnectionContext
-
A pause between failed MongoDB operations to prevent CPU throttling and DoS of
target MongoDB database.
- performInitialSync() - Method in class io.debezium.connector.mongodb.Replicator
-
Perform the initial sync of the collections in the replica set.
- performSnapshotEvenIfNotNeeded() - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- poll() - Method in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- POLL_INTERVAL_SEC - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- pollPeriodInSeconds() - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- pool - Variable in class io.debezium.connector.mongodb.ConnectionContext
-
- position - Variable in class io.debezium.connector.mongodb.SourceInfo
-
- position() - Method in class io.debezium.connector.mongodb.SourceInfo
-
- Position(int, int, Long) - Constructor for class io.debezium.connector.mongodb.SourceInfo.Position
-
- Position(BsonTimestamp, Long) - Constructor for class io.debezium.connector.mongodb.SourceInfo.Position
-
- positionsByReplicaSetName - Variable in class io.debezium.connector.mongodb.SourceInfo
-
- primaryBackoffStrategy - Variable in class io.debezium.connector.mongodb.ConnectionContext
-
- primaryClient - Variable in class io.debezium.connector.mongodb.Replicator
-
- primaryClientFor(ReplicaSet) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
Obtain a client that will repeated try to obtain a client to the primary node of the replica set, waiting (and using
this context's back-off strategy) if required until the primary becomes available.
- primaryClientFor(ReplicaSet, ConnectionContext.PrimaryConnectFailed) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
Obtain a client that will repeated try to obtain a client to the primary node of the replica set, waiting (and using
this context's back-off strategy) if required until the primary becomes available.
- primaryConnectionSupplier - Variable in class io.debezium.connector.mongodb.ConnectionContext.MongoPrimary
-
- primaryFor(ReplicaSet, Filters, BiConsumer<String, Throwable>) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
Obtain a client that will repeated try to obtain a client to the primary node of the replica set, waiting (and using
this context's back-off strategy) if required until the primary becomes available.
- readOplog() - Method in class io.debezium.connector.mongodb.Replicator
-
Repeatedly obtain a connection to the replica set's current primary and use that primary to read the oplog.
- readOplog(MongoClient) - Method in class io.debezium.connector.mongodb.Replicator
-
Use the given primary to read the oplog.
- RECORD_ENVELOPE_KEY_SCHEMA_NAME_SUFFIX - Static variable in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- RECORD_ENVELOPE_VALUE_SCHEMA_NAME_SUFFIX - Static variable in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- RecordBatchSummarizer() - Constructor for class io.debezium.connector.mongodb.MongoDbConnectorTask.RecordBatchSummarizer
-
- recordCount() - Method in class io.debezium.connector.mongodb.MongoDbConnectorTask.ReplicaSetSummary
-
- recordCurrentOplogPosition() - Method in class io.debezium.connector.mongodb.Replicator
-
Obtain the current position of the oplog, and record it in the source.
- recorder - Variable in class io.debezium.connector.mongodb.RecordMakers
-
- recorder - Variable in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
- recordEvent(Document, long) - Method in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
Generate and record one or more source records to describe the given event.
- recordFlattener - Variable in class io.debezium.connector.mongodb.transforms.ExtractNewDocumentState
-
- recordMakerByCollectionId - Variable in class io.debezium.connector.mongodb.RecordMakers
-
- RecordMakers - Class in io.debezium.connector.mongodb
-
A component that makes
SourceRecords for
collections and submits them to a consumer.
- RecordMakers(Filters, SourceInfo, TopicSelector<CollectionId>, BlockingConsumer<SourceRecord>, boolean) - Constructor for class io.debezium.connector.mongodb.RecordMakers
-
Create the record makers using the supplied components.
- recordMakers - Variable in class io.debezium.connector.mongodb.Replicator
-
- RecordMakers.RecordsForCollection - Class in io.debezium.connector.mongodb
-
A record producer for a given collection.
- recordObject(CollectionId, Document, long) - Method in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
Generate and record one or more source records to describe the given object.
- RecordsForCollection(CollectionId, FieldSelector.FieldFilter, SourceInfo, String, SchemaNameAdjuster, Function<Document, String>, BlockingConsumer<SourceRecord>, boolean) - Constructor for class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
- recordSummarizer - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- RemovePath(Pattern, String[]) - Constructor for class io.debezium.connector.mongodb.FieldSelector.RemovePath
-
- rename(String[]) - Method in class io.debezium.connector.mongodb.FieldSelector.RenamePath
-
- renameFields(String) - Method in class io.debezium.connector.mongodb.FieldSelector.FieldSelectorBuilder
-
Specifies the comma-separated list of fully-qualified field replacements to rename fields.
- RenamePath(Pattern, String[], String) - Constructor for class io.debezium.connector.mongodb.FieldSelector.RenamePath
-
- replaceLastNameNode(String[], String) - Method in class io.debezium.connector.mongodb.FieldSelector.RenamePath
-
Replaces a last name node in the given name nodes, if the name nodes contain only one node,
the last name node is returned.
- REPLICA_DELIMITER_PATTERN - Static variable in class io.debezium.connector.mongodb.ReplicaSets
-
- REPLICA_SET_NAME - Static variable in class io.debezium.connector.mongodb.SourceInfo
-
- replicaSet - Variable in class io.debezium.connector.mongodb.ConnectionContext.MongoPrimary
-
- replicaSet() - Method in class io.debezium.connector.mongodb.ConnectionContext.MongoPrimary
-
Get the replica set.
- ReplicaSet - Class in io.debezium.connector.mongodb
-
- ReplicaSet(String, String, String) - Constructor for class io.debezium.connector.mongodb.ReplicaSet
-
- replicaSet - Variable in class io.debezium.connector.mongodb.Replicator
-
- replicaSetCount() - Method in class io.debezium.connector.mongodb.ReplicaSets
-
Get the number of replica sets.
- ReplicaSetDiscovery - Class in io.debezium.connector.mongodb
-
A component that monitors a single replica set or the set of replica sets that make up the shards in a sharded cluster.
- ReplicaSetDiscovery(MongoDbTaskContext) - Constructor for class io.debezium.connector.mongodb.ReplicaSetDiscovery
-
Create a cluster component.
- replicaSetMonitorExecutor - Variable in class io.debezium.connector.mongodb.MongoDbConnector
-
- ReplicaSetMonitorThread - Class in io.debezium.connector.mongodb
-
A thread that can be used to when new replica sets are added or existing replica sets are removed.
- ReplicaSetMonitorThread(Supplier<ReplicaSets>, Duration, Clock, Runnable, Consumer<ReplicaSets>) - Constructor for class io.debezium.connector.mongodb.ReplicaSetMonitorThread
-
- replicaSetName - Variable in class io.debezium.connector.mongodb.CollectionId
-
- replicaSetName() - Method in class io.debezium.connector.mongodb.CollectionId
-
Get the name of the replica set in which the collection (and database) exist.
- replicaSetName - Variable in class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
- replicaSetName - Variable in class io.debezium.connector.mongodb.ReplicaSet
-
- replicaSetName() - Method in class io.debezium.connector.mongodb.ReplicaSet
-
Get the name of this replica set.
- replicaSetName - Variable in class io.debezium.connector.mongodb.SourceInfo
-
- replicaSetName() - Method in class io.debezium.connector.mongodb.SourceInfo
-
- replicaSetNameForPartition(Map<String, ?>) - Static method in class io.debezium.connector.mongodb.SourceInfo
-
Get the replica set name for the given partition.
- replicaSets - Variable in class io.debezium.connector.mongodb.ConnectionContext
-
- replicaSets() - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- replicaSets - Variable in class io.debezium.connector.mongodb.ReplicaSetMonitorThread
-
- ReplicaSets - Class in io.debezium.connector.mongodb
-
A set of replica set specifications.
- ReplicaSets(Collection<ReplicaSet>) - Constructor for class io.debezium.connector.mongodb.ReplicaSets
-
Create a set of replica set specifications.
- replicaSetsByName - Variable in class io.debezium.connector.mongodb.ReplicaSets
-
- replicaSetsChanged(ReplicaSets) - Method in class io.debezium.connector.mongodb.MongoDbConnector
-
- ReplicaSetSummary() - Constructor for class io.debezium.connector.mongodb.MongoDbConnectorTask.ReplicaSetSummary
-
- replicaSetUsedIn(String) - Static method in class io.debezium.connector.mongodb.MongoUtil
-
Find the name of the replica set precedes the host addresses.
- Replicator - Class in io.debezium.connector.mongodb
-
A component that replicates the content of a replica set, starting with an initial sync or continuing to read the oplog where
it last left off.
- Replicator(MongoDbTaskContext, ReplicaSet, BlockingConsumer<SourceRecord>, Consumer<Throwable>) - Constructor for class io.debezium.connector.mongodb.Replicator
-
- Replicator.BufferableRecorder - Class in io.debezium.connector.mongodb
-
A
BlockingConsumer implementation that will buffer the last source record
only during an initial sync, so that when the initial sync is complete the last record's offset can be updated
to reflect the completion of the initial sync before it is flushed.
- replicatorError - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- replicators - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- rsName - Variable in class io.debezium.connector.mongodb.Replicator
-
- run() - Method in class io.debezium.connector.mongodb.ReplicaSetMonitorThread
-
- run() - Method in class io.debezium.connector.mongodb.Replicator
-
Perform the replication logic.
- running - Variable in class io.debezium.connector.mongodb.ConnectionContext.MongoPrimary
-
- running - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- running - Variable in class io.debezium.connector.mongodb.Replicator
-