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.
§Pipeline Validation
The source config validates that user-supplied aggregation pipeline stages
do not modify the _id field. MongoDB 8.x throws a server-side error if
_id is projected away; validating at construction prevents runtime failures.
Structs§
- Mongo
DbSink Config - Configuration for the
MongoDBsink connector. - Mongo
DbSource Config - Configuration for the
MongoDBCDC source connector. - Write
Concern Config - Write concern configuration for
MongoDBoperations.
Enums§
- Full
Document Mode - Mode for requesting full documents on update events.
- Write
Concern Level - Write concern level for
MongoDBwrite operations.