| Package | Description |
|---|---|
| io.debezium.connector.mongodb |
| Modifier and Type | Method and Description |
|---|---|
protected Supplier<com.mongodb.client.MongoClient> |
ConnectionContext.primaryClientFor(ReplicaSet replicaSet,
ConnectionContext.PrimaryConnectFailed 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.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.