Class StoredCheckpoint
- Namespace
- Stratara.Abstractions.Projections
- Assembly
- Stratara.Abstractions.dll
A checkpoint as the store holds it.
[ExcludeFromCodeCoverage]
public sealed record StoredCheckpoint : IEquatable<StoredCheckpoint>
- Inheritance
-
StoredCheckpoint
- Implements
- Inherited Members
- Extension Methods
Constructors
StoredCheckpoint(string, int, string, long)
A checkpoint as the store holds it.
public StoredCheckpoint(string Consumer, int Partition, string Reader, long Position)
Parameters
ConsumerstringThe consumer, by the name the framework gives it.
PartitionintThe partition.
ReaderstringThe name of the reader the position was written under; a position means nothing under another.
PositionlongThe position the consumer resumes after.
Properties
Consumer
The consumer, by the name the framework gives it.
public string Consumer { get; init; }
Property Value
Partition
The partition.
public int Partition { get; init; }
Property Value
Position
The position the consumer resumes after.
public long Position { get; init; }
Property Value
Reader
The name of the reader the position was written under; a position means nothing under another.
public string Reader { get; init; }