From 4834a5efe0ea0091c560b36937f3c1386f1523d3 Mon Sep 17 00:00:00 2001 From: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com> Date: Mon, 14 Apr 2025 08:33:14 -0700 Subject: [PATCH] add docker note (#253) (cherry picked from commit e92f1152e7f702431c55ba34bb9ec79b9418ae91) --- 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