
7/17/2019 · Robert Walters
What this post added
This post introduces the official MongoDB Connector for Apache Kafka, developed and supported by MongoDB engineers and verified by Confluent. It details how this connector can be used as both a source (streaming data from MongoDB to Kafka topics using change streams with filtering) and a sink (streaming data from Kafka topics to MongoDB). The post provides installation instructions, configuration examples for both source and sink scenarios using Kafka Connect, and demonstrates testing with `kafkacat`. It highlights the use of MongoDB change streams for real-time event generation and the propagation of data from Kafka to MongoDB collections.