MongoDB Kafka Connector
Overview
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:
Register to learn more about the MongoDB Source Connector, or read the documentation.
Register to learn more about the MongoDB Sink Connector, or read the documentation.
To learn more about the MongoDB Source Connector, read the documentation.
To learn more about the MongoDB Sink Connector, read the documentation.
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.
What's New
For a list of new features and changes in each version, see the What's New section.
Quick Start
Learn how to get started with the MongoDB Kafka Connector and begin working with data in the Kafka Connector Quick Start section.
Introduction
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.
Tutorials
Follow tutorials to learn how to set up the MongoDB Kafka Connector to read and write data for several use cases.
Sink Connector
Learn how to configure how the MongoDB Kafka sink connector writes data from Apache Kafka into MongoDB in the Sink Connector section.
Source Connector
Learn how to configure how the MongoDB Kafka source connector writes data from MongoDB into Apache Kafka in the Source Connector section.
Security and Authentication
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.
Monitoring
Learn how to monitor your MongoDB Kafka source and sink connectors in the Monitoring section.
Migrate from the Community Connector
Learn how to to migrate from the legacy Kafka Connect MongoDB sink connector to the official MongoDB Kafka Connector in the Migration Guide.
Troubleshooting
Learn how to resolve issues you may encounter while running the MongoDB Kafka Connector in the Troubleshooting section.
How to Contribute
Learn how to contribute to the MongoDB Kafka Connector codebase in the How to Contribute section.
Issues & Help
Learn how to report bugs and request features in the Issues & Help section.
Compatibility
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.