Docs Menu

Docs HomeDevelop ApplicationsMongoDB Kafka Connector

MongoDB Kafka Connector

The MongoDB Connector for Apache Kafka is a Confluent-verified connector that persists data from Apache Kafka topics as a data sink into MongoDB and publishes changes from MongoDB into Kafka topics as a data source.

We recommend that you use one of the following MongoDB partner service offerings to host your Apache Kafka cluster and MongoDB Kafka Connector:

Note

You can also use Atlas Stream Processing, which is a MongoDB-native way to process streaming data by using the MongoDB Query API. It transforms the way that developers build modern applications.

Use Atlas Stream Processing to continuously process streaming data, validate schemas, and materialize views into either Atlas database collections or Apache Kafka topics.

To learn more about Atlas Stream Processing, see the Atlas Stream Processing product page or read the docs.

For a list of new features and changes in each version, see the What's New section.

Learn how to get started with the MongoDB Kafka Connector and begin working with data in the Quick Start section.

Learn about and how the MongoDB Kafka Connector passes data between Apache Kafka and MongoDB in the Introduction section. In this section, you can also learn about how to install the connector and configure it to connect to your MongoDB deployment.

Follow tutorials to learn how to set up the MongoDB Kafka Connector to read and write data for several use cases.

Learn how to configure how the MongoDB Kafka sink connector writes data from Apache Kafka into MongoDB in the Sink Connector section.

Learn how to configure how the MongoDB Kafka source connector writes data from MongoDB into Apache Kafka in the Source Connector section.

Learn how to secure communications between MongoDB and the MongoDB Kafka Connector in the Security and Authentication section. In this section, you can also learn how to configure the MongoDB Kafka Connector to authenticate to MongoDB with your AWS Identity and IAM credentials.

Learn how to monitor your MongoDB Kafka source and sink connectors in the Monitoring section.

Learn how to to migrate from the legacy Kafka Connect MongoDB sink connector to the official MongoDB Kafka Connector in the Migration Guide.

Learn how to resolve issues you may encounter while running the MongoDB Kafka Connector in the Troubleshooting section.

Learn how to contribute to the MongoDB Kafka Connector codebase in the How to Contribute section.

Learn how to report bugs and request features in the Issues & Help section.

For information about compatibility between the MongoDB Kafka Connector and MongoDB, see the Compatibility section. In this section, you can also learn about compatibility between the MongoDB Kafka Connector and Confluent Kafka Connect.

What's New →