Show / Hide Table of Contents

    Interface IBrokerMessageOffset

    Represents the primary identifier used by the message broker to recognize the exact message. This is different than the base IBrokerMessageIdentifier because it has a ordinal meaning and is comparable.

    It can represent a Kafka offset or another similar construct.

    Being able to compare the identifiers (offsets) allows the exactly-one delivery using the OffsetStoreExactlyOnceStrategy and for it to work properly the offsets have to be universally comparable (across restarts and across multiple instances, for a given Key).

    Inherited Members
    IBrokerMessageIdentifier.Key
    IBrokerMessageIdentifier.Value
    IBrokerMessageIdentifier.ToLogString()
    IBrokerMessageIdentifier.ToVerboseLogString()
    IEquatable<IBrokerMessageIdentifier>.Equals(IBrokerMessageIdentifier)
    IComparable<IBrokerMessageOffset>.CompareTo(IBrokerMessageOffset)
    Namespace: Silverback.Messaging.Broker
    Assembly: Silverback.Integration.dll
    Syntax
    public interface IBrokerMessageOffset : IBrokerMessageIdentifier, IEquatable<IBrokerMessageIdentifier>, IComparable<IBrokerMessageOffset>
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini