mongo-self hosted, what I should have at `replicaS...
# replication-ask-ai
r
mongo-self hosted, what I should have at
replicaSet
k
For a self-hosted MongoDB replica set, the
replicaSet
value in your connection string must be exactly the replica set name configured on your MongoDB cluster (the same name you used when initializing the replica set with
rs.initiate()
). Example connection string format (as also described in the issue):
Copy code
text mongodb://<host>:<port>/?replicaSet=<your-replica-set>
So, at
replicaSet
you should put your actual replica set name (e.g.
rs0
,
prod-rs
, etc.), not a generic value. [[MongoDB v2 config](https://docs.airbyte.com/integrations/sources/mongodb-v2#configuration-parameters); [GitHub issue 63300](https://github.com/airbytehq/airbyte/issues/63300)] Note: there is an open bug where, for “Self-Managed Replica Set”, the connector does not correctly pass this
replicaSet
value through to Debezium, causing CDC to fail even if the connection string is correct. [[GitHub issue 63300](https://github.com/airbytehq/airbyte/issues/63300)]