From f5e7b4981d492e0e3d8a6a5e2813fc4084b5db1f Mon Sep 17 00:00:00 2001 From: Jordan Smith Date: Mon, 14 Apr 2025 08:03:56 -0700 Subject: [PATCH] add docker note --- source/connect/connection-targets.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/connect/connection-targets.txt b/source/connect/connection-targets.txt index bab0af1b..8a1f29bc 100644 --- a/source/connect/connection-targets.txt +++ b/source/connect/connection-targets.txt @@ -164,6 +164,10 @@ tab to see the corresponding code: uri = "mongodb://host1:27017/?replicaSet=sampleRS" client = AsyncMongoClient(uri) +.. note:: Replica Set in Docker + + .. sharedinclude:: dbx/docker-replica-set.rst + {+driver-short+} evenly load balances operations across deployments that are reachable within the client's ``localThresholdMS`` value. To learn more about how {+driver-short+} load balances operations across multiple MongoDB deployments, see the