Expand description
MongoDB connector configuration.
Provides MongoDbSourceConfig for the CDC change stream source and
MongoDbSinkConfig for the write sink. Both support construction
from a generic ConnectorConfig key-value map and programmatic builders.
User-supplied change-stream pipelines are limited to $match stages so they
cannot alter MongoDB’s resume token.
Structs§
- Mongo
DbSink Config - Configuration for the
MongoDBsink connector. - Mongo
DbSource Config - Configuration for the
MongoDBCDC source connector.
Enums§
- Full
Document Mode - Mode for requesting full documents on update events.
- Snapshot
Mode - Whether a fresh source copies the existing collection before streaming changes.
- Source
Output Mode - What a
MongoDBCDC source emits for each change.