anchor.diff: +// Category: debezium-using
  +// Type: assembly
   [id="debezium-connector-for-mongodb"]
   = {prodname} connector for MongoDB
   
  
positive.code: * MongoDB is running and you completed the steps to {LinkDebeziumUserGuide}#setting-up-mongodb[set up MongoDB to work with a {prodname} connector].
  
  * {StreamsName} is deployed on OpenShift and is running Apache Kafka and Kafka Connect.
    For more information, see link:{LinkStreamsOpenShift}:/getting-started-str[{NameDebeziumInstallOpenShift}].
  
  * Podman or Docker is installed.
  
  
negative.code: ====
  
  [[mongodb-sharded-cluster]]
  MongoDB sharded cluster::
  A https://docs.mongodb.com/manual/sharding/[MongoDB sharded cluster] consists of:
  * One or more _shards_, each deployed as a replica set;
  * A separate replica set that acts as the cluster's _configuration server_
  * One or more _routers_ (also called `mongos`) to which clients connect and that routes requests to the appropriate shards
  +
  To use the MongoDB connector with a sharded cluster, configure the connector with the host addresses of the _configuration server_ replica set. When the connector connects to this replica set, it discovers that it is acting as the configuration server for a sharded cluster, discovers the information about each replica set used as a shard in the cluster, and will then start up a separate task to capture the changes from each replica set. If new shards are added to the cluster or existing shards removed, the connector will automatically adjust its tasks accordingly.
  
  [[mongodb-standalone-server]]
  MongoDB standalone server::
  The MongoDB connector is not capable of monitoring the changes of a standalone MongoDB server, since standalone servers do not have an oplog.
  The connector will work if the standalone server is converted to a replica set with one member.
  
  [NOTE]
  ====
  MongoDB does not recommend running a standalone server in production.
  For more information, see the https://docs.mongodb.com/manual/core/replica-set-architectures/[MongoDB documentation].
  ====
  
  // Type: concept
  // Title: How {prodname} MongoDB connectors use logical names for replica sets and sharded clusters
  // ModuleID: how-debezium-mongodb-connectors-use-logical-names-for-replica-sets-and-sharded-clusters
  [[mongodb-logical-connector-name]]
  === Logical connector name
  
  