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

Interface ICdcCapture

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

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Captures database changes for one stable CDC surface and shapes them into outbox-ready publications.

public interface ICdcCapture

Gets the stable CDC capture identifier owned by this implementation.

string CdcCaptureId { get; }

string

Reads one bounded capture batch and returns the resulting outbox publications plus any provider-facing execution metadata.

ValueTask<CdcCaptureExecutionResult> CaptureAsync(CancellationToken cancellationToken = default)

cancellationToken CancellationToken

The token that cancels the capture stream.

ValueTask<CdcCaptureExecutionResult>

The captured batch result for the active CDC surface.