MongoDB

Supported pipeline types:
  • Data Collector

The MongoDB origin reads data from MongoDB. For information about supported versions, see Supported Systems and VersionsSupported Systems and Versions in the Data Collector documentation.

The MongoDB origin generates a record for every MongoDB document. To read change data capture information from the MongoDB Oplog, use the MongoDB Oplog origin.

The MongoDB origin reads from capped and uncapped collections. When you configure MongoDB, you define connection information, such as the connection string and MongoDB credentials. You can also use a connectionconnection to configure the origin. You configure the offset field, collection type, and initial offset. These properties determine how the origin queries the database.

When the pipeline stops, the MongoDB origin notes where it stops reading. When the pipeline starts again, the origin continues processing from the last-saved offset by default. You can reset the origin to process all requested files.

You can optionally configure advanced options that determine how the origin connects to MongoDB, including enabling SSL/TLS for the origin.

The origin can generate events for an event stream. For more information about dataflow triggers and the event framework, see Dataflow Triggers Overview.