Table of Contents

Struct SubscriptionCheckpoint

Namespace
Excalibur.EventSourcing.Subscriptions
Assembly
Excalibur.EventSourcing.dll

A single stored subscription checkpoint: the projection it belongs to and its last checkpointed position.

public readonly record struct SubscriptionCheckpoint : IEquatable<SubscriptionCheckpoint>
Implements
Inherited Members

Remarks

The pair is carried apart rather than as one composed string so a reader can group by subscription without re-parsing a delimiter that either part may itself contain.

Constructors

SubscriptionCheckpoint(string, string, long)

A single stored subscription checkpoint: the projection it belongs to and its last checkpointed position.

public SubscriptionCheckpoint(string SubscriptionName, string ProjectionKey, long Position)

Parameters

SubscriptionName string

The stable subscription name.

ProjectionKey string

The projection's key within that subscription.

Position long

The last checkpointed global-stream position.

Remarks

The pair is carried apart rather than as one composed string so a reader can group by subscription without re-parsing a delimiter that either part may itself contain.

Properties

Position

The last checkpointed global-stream position.

public long Position { get; init; }

Property Value

long

ProjectionKey

The projection's key within that subscription.

public string ProjectionKey { get; init; }

Property Value

string

SubscriptionName

The stable subscription name.

public string SubscriptionName { get; init; }

Property Value

string