Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
December 16, 2021 16:01
August 16, 2021 14:46
July 27, 2021 11:32
July 27, 2021 11:32
March 31, 2022 16:40
December 16, 2021 16:01
July 30, 2021 13:32

MongoDB Spark Connector

The official MongoDB Spark Connector.



API Documentation


The binaries and dependency information for Maven, SBT, Ivy, and others can also be found on Maven Central.

Support / Feedback

For issues with, questions about, or feedback for the MongoDB Kafka Connector, please look into our support channels. Please do not email any of the Kafka connector developers directly with issues or questions - you're more likely to get an answer on the MongoDB Community Forums.

At a minimum, please include in your description the exact version of the driver that you are using. If you are having connectivity issues, it's often also useful to paste in the Kafka connector configuration. You should also check your application logs for any connectivity-related exceptions and post those as well.

Bugs / Feature Requests

Think you’ve found a bug? Want to see a new feature in the Kafka driver? Please open a case in our issue management tool, JIRA:

Bug reports in JIRA for the connector are public.

If you’ve identified a security vulnerability in a connector or any other MongoDB project, please report it according to the instructions here.


Note: The following instructions are intended for internal use.

Please see the downloading instructions for information on getting and using the MongoDB Spark Connector.

To build the connector:

$ git clone
$ cd mongo-spark
$ ./gradlew clean check