Expand description
MongoDB Change Streams (CDC) source for the faucet-stream ecosystem.
Tails a collection / database / cluster change stream and emits per-document
change events as a CDC envelope, resumable via the opaque resumeToken.
Structs§
- Bookmark
- Durable bookmark wrapping a resume token.
- Mongo
CdcSource - A configured MongoDB CDC source.
- Mongo
CdcSource Config - Configuration for
MongoCdcSource.
Enums§
- Full
Document - Post-image inclusion mode (maps to the driver
FullDocumentType). - Full
Document Before Change - Pre-image inclusion mode (maps to the driver
FullDocumentBeforeChangeType). - Scope
- Which change stream to open.
- Start
From - Where to start the change stream on a fresh run (no persisted bookmark).
Functions§
- state_
key - State key for a given watch scope.