damianiandrea / mongodb-nats-connector

A connector that uses MongoDB's change streams to capture data changes and publishes those changes to NATS JetStream.
MIT License
49 stars 7 forks source link

Connector publishes unwanted change events such as drop, rename, etc. #16

Closed damianiandrea closed 9 months ago

damianiandrea commented 9 months ago

Currently, the connector publishes any kind of watched change event to NATS JetStream, regardless of the operation type (invalidate is an exception).

The goal of this PR is to make the connector only publish insert, update, replace, and delete change events as originally planned.