Uses of Class
io.debezium.connector.mongodb.ConnectionContext.MongoPrimary
Packages that use ConnectionContext.MongoPrimary
-
Uses of ConnectionContext.MongoPrimary in io.debezium.connector.mongodb
Fields in io.debezium.connector.mongodb declared as ConnectionContext.MongoPrimaryModifier and TypeFieldDescriptionprivate ConnectionContext.MongoPrimaryMongoDbIncrementalSnapshotChangeEventSource.primaryprivate final ConnectionContext.MongoPrimaryMongoDbStreamingChangeEventSource.ReplicaSetChangeStreamsContext.primaryMethods in io.debezium.connector.mongodb that return ConnectionContext.MongoPrimaryModifier and TypeMethodDescriptionprivate ConnectionContext.MongoPrimaryMongoDbIncrementalSnapshotChangeEventSource.establishConnectionToPrimary(MongoDbPartition partition, ReplicaSet replicaSet) private ConnectionContext.MongoPrimaryMongoDbSnapshotChangeEventSource.establishConnectionToPrimary(MongoDbPartition partition, ReplicaSet replicaSet) private ConnectionContext.MongoPrimaryMongoDbStreamingChangeEventSource.establishConnectionToPrimary(MongoDbPartition partition, ReplicaSet replicaSet) (package private) ConnectionContext.MongoPrimaryMongoDbStreamingChangeEventSource.ReplicaSetChangeStreamsContext.getPrimary()ConnectionContext.primaryFor(ReplicaSet replicaSet, Filters filters, BiConsumer<String, Throwable> errorHandler) 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.Methods in io.debezium.connector.mongodb with parameters of type ConnectionContext.MongoPrimaryModifier and TypeMethodDescriptionprivate voidMongoDbSnapshotChangeEventSource.createDataEvents(ChangeEventSource.ChangeEventSourceContext sourceContext, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext, ReplicaSet replicaSet, ConnectionContext.MongoPrimary primaryClient) private voidMongoDbSnapshotChangeEventSource.createDataEventsForCollection(ChangeEventSource.ChangeEventSourceContext sourceContext, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext, EventDispatcher.SnapshotReceiver<MongoDbPartition> snapshotReceiver, ReplicaSet replicaSet, CollectionId collectionId, ConnectionContext.MongoPrimary primaryClient) private voidMongoDbSnapshotChangeEventSource.createDataEventsForReplicaSet(ChangeEventSource.ChangeEventSourceContext sourceContext, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext, EventDispatcher.SnapshotReceiver<MongoDbPartition> snapshotReceiver, ReplicaSet replicaSet, ConnectionContext.MongoPrimary primaryClient) Dispatches the data change events for the records of a single replica-set.private booleanMongoDbSnapshotChangeEventSource.isSnapshotExpected(ConnectionContext.MongoPrimary primaryClient, ReplicaSetOffsetContext offsetContext) private voidMongoDbStreamingChangeEventSource.readChangeStream(com.mongodb.client.MongoClient primary, ConnectionContext.MongoPrimary primaryClient, ReplicaSet replicaSet, ChangeEventSource.ChangeEventSourceContext context, MongoDbOffsetContext offsetContext) Constructors in io.debezium.connector.mongodb with parameters of type ConnectionContext.MongoPrimaryModifierConstructorDescription(package private)ReplicaSetChangeStreamsContext(ReplicaSetPartition partition, ReplicaSetOffsetContext offsetContext, ConnectionContext.MongoPrimary primary, ReplicaSet replicaSet)