Docs Home → MongoDB Spark Connector
MongoDB Connector for Spark
The MongoDB Connector for Spark provides integration between MongoDB and Apache Spark.
With the connector, you have access to all Spark libraries for use with MongoDB datasets: Datasets for analysis with SQL (benefiting from automatic schema inference), streaming, machine learning, and graph APIs. You can also use the connector with the Spark Shell.
The MongoDB Connector for Spark is compatible with the following versions of Apache Spark and MongoDB:
MongoDB Connector for Spark | Spark Version | MongoDB Version |
---|---|---|
3.0.2 | 3.0.x, 3.1.x | 2.6 or later |
2.4.4 | 2.4.x | 2.6 or later |
2.3.6 | 2.3.x | 2.6 or later |
2.2.10 | 2.2.x | 2.6 or later |
2.1.9 | 2.1.x | 2.6 or later |
2.0.0 | 2.0.x | 2.6 or later |
1.1.0 | 1.6.x | 2.6 or later |
Note
Announcements
August 17, 2020, MongoDB Connector for Spark version v3.0.0 Released.
Jun 10, 2020, MongoDB Connector for Spark versions v2.4.2, v2.3.4, v2.2.8, and v2.1.7 Released.
Jun 06, 2019, MongoDB Connector for Spark versions v2.4.1, v2.3.3, v2.2.7, and v2.1.6 Released.
Dec 07, 2018, MongoDB Connector for Spark versions v2.4.0, v2.3.2, v2.2.6, and v2.1.5 Released.
Oct 08, 2018, MongoDB Connector for Spark versions v2.3.1, v2.2.5, and v2.1.4 Released.
July 30, 2018, MongoDB Connector for Spark versions v2.3.0, v2.2.4, and v2.1.3 Released.
June 19, 2018, MongoDB Connector for Spark versions v2.2.3 and v2.1.2 Released.
April 18, 2018, MongoDB Connector for Spark version v2.2.2 Released.
Oct 31, 2017, MongoDB Connector for Spark version v2.2.1 Released.
July 13, 2017, MongoDB Connector for Spark version v2.2.0 Released.
July 12, 2017, MongoDB Connector for Spark versions v2.2.0 and v2.1.0 Released.
November 1, 2016, MongoDB Connector for Spark v2.0.0 Released.