Skip to main content
Table of Contents

Class ProjectionReplayOptions

Namespace
Stratara.Outbox.RabbitMQ.Projections
Assembly
Stratara.Outbox.RabbitMQ.dll

Options controlling how long a projection replay's active marking and progress counters survive without renewal. Registered with their defaults by AddProjectionReplayState(); bind them from configuration with services.Configure<ProjectionReplayOptions>(...) using SectionName.

[ExcludeFromCodeCoverage]
public sealed class ProjectionReplayOptions
Inheritance
ProjectionReplayOptions
Inherited Members
Extension Methods

Fields

SectionName

Configuration section name ("ProjectionReplay") used to bind these options.

public const string SectionName = "ProjectionReplay"

Field Value

string

Properties

LeaseSeconds

Seconds the replay's active marking and its progress counters survive without renewal. The replay renews them every time it reports progress, so this value must outlast the longest stretch between two reports — the slowest batch, and the read-model truncation that precedes the first report. A value shorter than that lets the marking lapse while the replay is still running, which resumes suppressed publication against half-rebuilt read models; erring long only delays the clearing of a marking whose replay already died. Defaults to 300.

public int LeaseSeconds { get; set; }

Property Value

int