Connectors
MongoDB Connector for Apache Kafka
Natively integrate MongoDB data within the Kafka ecosystem.
An easier way to integrate MongoDB and Kafka
Configure your connection
The official MongoDB Connector for Apache® Kafka® is developed and supported by MongoDB and verified by Confluent. The Connector enables MongoDB to be configured as both a sink and a source for Apache Kafka.
Easily build robust, reactive data pipelines that stream events between applications and services in near real time.
Why MongoDB and Apache Kafka?
Configure as a Sink
Map and persist events from Kafka topics directly to MongoDB collections with ease. Ingest events from your Kafka topics directly into MongoDB collections, exposing the data to your services for efficient querying, enrichment, and analytics.
Configure as a Source
Publish data changes from MongoDB into Kafka topics for streaming to consuming apps. Data is captured via Change Streams within the MongoDB cluster and published into Kafka topics. This enables consuming apps to react to data changes in real time using an event-driven programming style.
Why MongoDB?
eCommerce and Customer Single View
ao.com, a leading online electrical retailer, uses Kafka to push all data changes from its source databases to MongoDB Atlas. This creates a single source of truth for all customer data to drive new and enhanced applications and business processes including customer service, fraud detection, and GDPR compliance. Employees with appropriate permissions can access customer data from one easy-to-consume operational data layer.
IoT
Financial Services
AHL, a subsidiary of The Man Group, which is one of the world’s largest hedge fund investment firms, used MongoDB to create a single platform for all of its financial data. The system receives data for up to 150,000 ticks per second from multiple financial sources and writes it to Kafka. Kafka provides both consolidation and buffering of events before they are stored in MongoDB, where the data can be analyzed.