Docs Home → View & Analyze Data → Spark Connector
Write to MongoDB in Streaming Mode
Example
The following example shows how to stream data from a CSV file to MongoDB:
API Documentation
To learn more about the types used in these examples, see the following Apache Spark API documentation: