MongoDBDestConn
class MongoDBDestConn(
uri: UriSpec,
credentials: CredentialsSpec,
conn_cfg: CfgSpec | None = None,
)
Bases: Conn
Categories: destination
MongoDB connection used by MongoDBDest.
Registered on a collection; the runtime resolves it and hands it to the plugin at run time.
Parameters
parameter
MongoDB connection URI WITHOUT credentials, e.g.
mongodb://host:27017/?.... Must start with
mongodb:// or mongodb+srv://. The plugin splices in
the user / password from credentials at write time.
Accepts a plain string or a Secret.