Table of Contents

Interface IMongoDbCdcProcessor

Namespace
Excalibur.Cdc.MongoDB
Assembly
Excalibur.Cdc.MongoDB.dll

Defines the contract for a MongoDB Change Data Capture (CDC) processor.

public interface IMongoDbCdcProcessor : ICdcStreamProcessor<MongoDbDataChangeEvent, MongoDbCdcPosition>, ICdcProcessor<MongoDbDataChangeEvent>, IAsyncDisposable, IDisposable
Inherited Members

Remarks

The processor uses MongoDB Change Streams to capture document changes from a replica set or sharded cluster. This interface extends ICdcStreamProcessor<TEvent, TPosition> with MongoDB-specific types. All streaming and batch processing methods are inherited from the base interfaces.

Server requirements:

  • MongoDB 3.6+ for collection-level change streams
  • MongoDB 4.0+ for database-level or cluster-level change streams
  • MongoDB 6.0+ for pre-image support (FullDocumentBeforeChange)
  • Must be a replica set or sharded cluster (not standalone)