ข้ามไปยังเนื้อหา

Class MongoDbChangeStreamCaptureOptions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Data.MongoDB.Configuration
Assembly: Cephalon.Data.MongoDB.dll

Declares one provider-native MongoDB change-stream capture for the active runtime.

public sealed class MongoDbChangeStreamCaptureOptions

objectMongoDbChangeStreamCaptureOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Gets or sets the optional batch size for each provider-native change-stream batch.

public int? BatchSize { get; set; }

int?

Gets or sets the logical outbox channel that receives emitted publications.

public string ChannelId { get; set; }

string

Gets or sets the collection name that the provider-native change stream should watch.

public string CollectionName { get; set; }

string

Gets or sets the database name to watch. When omitted, the pack-level database name is used.

public string? DatabaseName { get; set; }

string?

Gets or sets the human-readable CDC capture description.

public string Description { get; set; }

string

Gets or sets the operator-facing CDC capture name.

public string DisplayName { get; set; }

string

Gets or sets the operator-facing event format projected on the CDC descriptor.

public string EventFormat { get; set; }

string

Gets or sets the MongoDB full-document mode, such as update-lookup or when-available.

public string FullDocumentMode { get; set; }

string

Gets or sets the stable CDC capture identifier.

public string Id { get; set; }

string

Gets or sets the maximum await time, in seconds, for one provider-native change-stream batch.

public int MaxAwaitTimeSeconds { get; set; }

int

Gets or sets the logical message type emitted for each captured change event.

public string MessageType { get; set; }

string

Gets arbitrary operator-facing metadata that should flow through the capture descriptor.

public IDictionary<string, string> Metadata { get; }

IDictionary<string, string>

Gets or sets the outbox identifier that receives emitted publications.

public string OutboxId { get; set; }

string

Gets the resource identifiers observed by the capture.

public IList<string> ResourceIds { get; }

IList<string>

Gets or sets the logical source identifier when it should differ from the watched collection path.

public string SourceId { get; set; }

string

Gets or sets the module identifier that owns the capture surface.

public string SourceModuleId { get; set; }

string

Gets the descriptive tags associated with the capture.

public IList<string> Tags { get; }

IList<string>