Table of Contents

Class ProjectionAttestation

Namespace
Excalibur.EventSourcing
Assembly
Excalibur.EventSourcing.Abstractions.dll

Identifies the roster and member lifetimes covered by a projection freshness observation.

public sealed record ProjectionAttestation : IEquatable<ProjectionAttestation>
Inheritance
ProjectionAttestation
Implements
Inherited Members

Remarks

Freshness is an observation, not a promise that the roster will never change. Readers validate this receipt after reading data.

Constructors

ProjectionAttestation(string, string, long, IReadOnlyDictionary<string, Guid>)

Identifies the roster and member lifetimes covered by a projection freshness observation.

public ProjectionAttestation(string SubscriptionName, string RosterIdentity, long ThroughPosition, IReadOnlyDictionary<string, Guid> CoveredMembers)

Parameters

SubscriptionName string

The subscription whose roster was observed.

RosterIdentity string

The identity of that roster snapshot.

ThroughPosition long

The contiguous stream position covered.

CoveredMembers IReadOnlyDictionary<string, Guid>

Projection keys and binding identifiers whose progress was confirmed.

Remarks

Freshness is an observation, not a promise that the roster will never change. Readers validate this receipt after reading data.

Properties

CoveredMembers

Projection keys and binding identifiers whose progress was confirmed.

public IReadOnlyDictionary<string, Guid> CoveredMembers { get; init; }

Property Value

IReadOnlyDictionary<string, Guid>

RosterIdentity

The identity of that roster snapshot.

public string RosterIdentity { get; init; }

Property Value

string

SubscriptionName

The subscription whose roster was observed.

public string SubscriptionName { get; init; }

Property Value

string

ThroughPosition

The contiguous stream position covered.

public long ThroughPosition { get; init; }

Property Value

long