Debezium MongoDB CDC Source Connector
Debezium’s MongoDB Connector can monitor a MongoDB replica set or a MongoDB sharded cluster for document changes in databases and collections, recording those changes as events in Kafka topics. The connector automatically handles the addition or removal of shards in a sharded cluster, changes in membership of each replica set, elections within each replica set, and awaiting the resolution of communications problems.
Confluent Hub CLI installation
Use the Confluent Hub client to install this connector with:
confluent-hub install debezium/debezium-connector-mongodb:1.9.3