- 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.ReplicationContext
-
- clock() - Method in class io.debezium.connector.mongodb.ReplicationContext
-
- clock - Variable in class io.debezium.connector.mongodb.Replicator
-
- close() - Method in class io.debezium.connector.mongodb.ConnectionContext
-
- 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_LIST_NAME - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- COLLECTION_LIST_RECOMMENDER - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- 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.
- 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.
- collectionFilter() - Method in class io.debezium.connector.mongodb.ReplicationContext
-
- collectionFilter - Variable in class io.debezium.connector.mongodb.Replicator
-
- 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.
- CollectionRecommender() - Constructor for class io.debezium.connector.mongodb.MongoDbConnectorConfig.CollectionRecommender
-
- 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.
- 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_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
-
- configureLoggingContext(String) - Method in class io.debezium.connector.mongodb.ConnectionContext
-
Configure the logger's Mapped Diagnostic Context (MDC) properties for the thread making this call.
- 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.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
-
- 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
-
- 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
-
- 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) - 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.
- 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.
- 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
-
- 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() - Method in class io.debezium.connector.mongodb.MongoDbConnectorTask.TaskRecordQueue
-
- POLL_INTERVAL_MS - Static variable in class io.debezium.connector.mongodb.MongoDbConnectorConfig
-
- 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(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, 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.
- 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.
- 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(SourceInfo, TopicSelector, BlockingConsumer<SourceRecord>) - 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.
- records - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask.TaskRecordQueue
-
- RecordsForCollection(CollectionId, SourceInfo, String, AvroValidator, Function<Document, String>, BlockingConsumer<SourceRecord>) - Constructor for class io.debezium.connector.mongodb.RecordMakers.RecordsForCollection
-
- recordSummarizer - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- replContext - Variable in class io.debezium.connector.mongodb.MongoDbConnector
-
- replContext - Variable in class io.debezium.connector.mongodb.MongoDbConnectorTask
-
- 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(ReplicationContext) - Constructor for class io.debezium.connector.mongodb.ReplicaSetDiscovery
-
Create a cluster component.
- 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>, long, TimeUnit, 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.
- 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.
- ReplicationContext - Class in io.debezium.connector.mongodb
-
- ReplicationContext(Configuration) - Constructor for class io.debezium.connector.mongodb.ReplicationContext
-
- 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(ReplicationContext, ReplicaSet, BlockingConsumer<SourceRecord>) - Constructor for class io.debezium.connector.mongodb.Replicator
-
- 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.MongoDbConnectorTask
-
- running - Variable in class io.debezium.connector.mongodb.ReplicaSetMonitorThread
-
- running - Variable in class io.debezium.connector.mongodb.Replicator
-