Show / Hide Table of Contents

    Class SilverbackStoredOffset

    Represents a Kafka offset stored in the database.

    Inheritance
    object
    SilverbackStoredOffset
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini