MongoDB is a NoSQL database that uses JSON-like documents with optional schemas. Meroxa will automatically discover the version, capabilities, and permission of the added MongoDB Resource and will create the appropriate connection.
The MongoDB Source Connector leverages the native
oplog (as used internally within replica sets) to capture all changes from one or more collections and stream them on the Meroxa Platform.
- Generic MongoDB
- Mongo Atlas
To add a MongoDB resource to your Meroxa Resource Catalog, you can run the following command:
meroxa add resource mongo --type mongodb -u "$MONGO_CONNECTION_STRING"
$MONGO_CONNECTION_STRING represents a valid Mongo Connection String.
To configure MongoDB as a destination:
meroxa create connector to-mongo --to mongo --input $STREAM_NAME
The command above creates a new Connector called
to-mongo, sets the destination to a resource named
mongo and configures the Input Stream.
The Meroxa Platform has been tested against the following MongoDB versions.
Updated about a month ago