Skip to main content

I would like to replicate/synchronize a collection named "CollectionA" from a mongoDB "DataBaseA" to a mongoDB "DatabaseB" atin real time-time

  1. DatabaseB is a normal database (not a shardshared and not a replica)
  2. The DatabaseB will have writes to it, but not in tofor collection "CollectionA"
  3. The synchronization/replication should be done in real time-time with a delay defined due tobased on network latency

I amI'm trying to achieve this with outwithout writing any custom code. Is this possible to achieve?

I would like to replicate/synchronize a collection named "CollectionA" from a mongoDB "DataBaseA" to a mongoDB "DatabaseB" at real time

  1. DatabaseB is a normal database (not a shard and not a replica)
  2. The DatabaseB will have writes to it, but not in to collection "CollectionA"
  3. The synchronization/replication should done real time with a delay defined due to network latency

I am trying to achieve this with out writing any custom code. Is this possible to achieve?

I would like to replicate/synchronize a collection named "CollectionA" from a mongoDB "DataBaseA" to a mongoDB "DatabaseB" in real-time

  1. DatabaseB is a normal database (not shared and not a replica)
  2. The DatabaseB will have writes to it, but not for collection "CollectionA"
  3. The synchronization/replication should be done in real-time with a delay defined based on network latency

I'm trying to achieve this without writing any custom code. Is this possible?

Source Link

Is it possible to replicate a collection in MongoDB

I would like to replicate/synchronize a collection named "CollectionA" from a mongoDB "DataBaseA" to a mongoDB "DatabaseB" at real time

  1. DatabaseB is a normal database (not a shard and not a replica)
  2. The DatabaseB will have writes to it, but not in to collection "CollectionA"
  3. The synchronization/replication should done real time with a delay defined due to network latency

I am trying to achieve this with out writing any custom code. Is this possible to achieve?