Uses of Interface
io.debezium.connector.mongodb.ConnectionContext.PreferredConnectFailed
Packages that use ConnectionContext.PreferredConnectFailed
-
Uses of ConnectionContext.PreferredConnectFailed in io.debezium.connector.mongodb
Methods in io.debezium.connector.mongodb with parameters of type ConnectionContext.PreferredConnectFailedModifier and TypeMethodDescriptionprotected Supplier<com.mongodb.client.MongoClient>ConnectionContext.preferredClientFor(ReplicaSet replicaSet, com.mongodb.ReadPreference preference, ConnectionContext.PreferredConnectFailed handler) 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.