-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
The default is initial, and specifies that the connector reads a snapshot when either no offset is found or if the change stream no longer contains the previous offset.
but, then in: https://debezium.io/documentation/reference/stable/connectors/mongodb.html#debezium-mongodb-connector-is-stopped-for-a-long-interval in the Note section it says:
If the connector remains stopped for long enough, MongoDB might purge older oplog files and the connector’s last position may be lost. In this case, when the connector configured with initial snapshot mode (the default) is finally restarted, the MongoDB server will no longer have the starting point and the connector will fail with an error.{}
So, not clear - when previous offset is not available, the connector will start a snapshot process or will fail with an error?