Synadia Connect

MongoDB Change Stream

NAMERUNTIMETYPEVERSIONSTATUS
mongodb_change_streamwombatsourcelatestpreview

Consume the MongoDB ChangeStream. This input is capable of reading change events from a MongoDB client, database, or collection. When a database as well as a collection is provided, only changes to that collection will be read. When only a database is provided, changes to all collections in that database will be read. When neither a database nor a collection is provided, changes to all databases and collections will be read.


Configuration

nametypeoptionalsecretdescription
uristringnonoMongoDB connection URI
databasestringyesnoThe database to watch.
collectionstringyesnoThe collection to watch.
auto_replay_nacksboolnonoWhether messages that are rejected (nacked) at the output level should be automatically replayed indefinitely, eventually resulting in back pressure if the cause of the rejections is persistent. If set to false these messages will instead be deleted. Disabling auto replays can greatly improve memory efficiency of high throughput streams as the original shape of the data can be discarded immediately upon consumption and mutation. The value defaults to true.
Previous
MongoDB Query