Skip to content
A POC project to connect Apache Spark to MongoDB
Branch: master
Clone or download
Latest commit 4c73bf0 Apr 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main Initial commit. Apr 3, 2019
.gitignore Initial commit. Apr 3, 2019
LICENSE Initial commit. Apr 3, 2019
pom.xml Initial commit. Apr 3, 2019


This is a simple Spring Boot command line runner project, which creates a Spark Context, connects to a MongoDB database, and loads the data into a SparkJavaContext. From there, it's the regular JavaRDD stuff.

The Mongo Spark Connector Dependency

The mongo-spark-connector dependency is available in the central maven repository. You can find the source code and the usage here.

You can’t perform that action at this time.