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