Skip to content

Commit c3bd490

Browse files
Update content/integrate/redis-data-integration/data-pipelines/prepare-dbs/mongodb.md
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
1 parent d20ff1c commit c3bd490

File tree

1 file changed

+1
-1
lines changed
  • content/integrate/redis-data-integration/data-pipelines/prepare-dbs

1 file changed

+1
-1
lines changed

content/integrate/redis-data-integration/data-pipelines/prepare-dbs/mongodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This guide describes the steps required to prepare a MongoDB database as a sourc
2626
{{< note >}}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 >}}
2727

2828
## 1. Configure Oplog Size
29-
The Debezium MongoDB connector relies on the oplog to capture changes from a replica set. The oplog is a fixed-size, capped collection when it reaches its maximum size, it overwrites the oldest entries. If the connector is stopped and restarted, it attempts to resume from its last recorded position in the oplog. If that position has been overwritten, the connector may fail to start and report an invalid resume token error.
29+
The Debezium MongoDB connector relies on the [oplog](https://www.mongodb.com/docs/manual/core/replica-set-oplog/) to capture changes from a replica set. The oplog is a fixed-size, capped collection. When it reaches its maximum size, it overwrites the oldest entries. If the connector is stopped and restarted, it attempts to resume from its last recorded position in the oplog. If that position has been overwritten, the connector may fail to start and report an invalid resume token error.
3030

3131
To prevent this, ensure the oplog retains enough history for Debezium to resume streaming after interruptions. You can do this by:
3232

0 commit comments

Comments
 (0)