Class SilverbackStoredOffset
- Namespace
- Silverback.Messaging.Consuming.KafkaOffsetStore
- Assembly
- Silverback.Storage.EntityFramework.dll
Represents a Kafka offset stored in the database.
[PrimaryKey("GroupId", new string[] { "Topic", "Partition" })]
public class SilverbackStoredOffset
- Inheritance
-
SilverbackStoredOffset
- Inherited Members
Constructors
SilverbackStoredOffset()
public SilverbackStoredOffset()
Properties
GroupId
Gets the group identifier.
[Required]
[MaxLength(300)]
public string GroupId { get; init; }
Property Value
Offset
Gets or sets the offset.
[Required]
public long Offset { get; set; }
Property Value
Partition
Gets or sets the partition.
[Required]
public int Partition { get; set; }
Property Value
Topic
Gets the name of the topic.
[Required]
[MaxLength(300)]
public string Topic { get; init; }