Table of Contents

Enum CdcChangeType

Namespace
Excalibur.Cdc
Assembly
Excalibur.Cdc.dll

Specifies the type of change captured by CDC.

public enum CdcChangeType

Fields

Delete = 3

An existing row/document was deleted or removed.

Drop = 7

A collection or table was dropped.

Used by MongoDB change streams.

DropDatabase = 8

A database was dropped.

Used by MongoDB change streams.

Insert = 1

A new row/document was inserted or added.

Invalidate = 6

The change stream was invalidated (e.g., collection dropped or renamed).

Used by MongoDB change streams.

None = 0

No change type specified, or the change type is unknown.

Rename = 9

A collection was renamed.

Used by MongoDB change streams.

Replace = 4

A document was replaced (full document update, distinct from partial update).

Used by MongoDB and CosmosDB change feeds.

Truncate = 5

A table was truncated (all rows removed).

Used by Postgres logical replication.

Update = 2

An existing row/document was updated or modified.

Remarks

This is the canonical change type enum shared by all CDC providers. Common operations (Insert, Update, Delete) use the same numeric values across all providers. Provider-specific operations (Replace, Truncate, Invalidate, Drop, etc.) are included for completeness.