Class ExactlyOnceStrategy
Contains some helper methods used to build the exactly-once strategies.
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public static class ExactlyOnceStrategy
Methods
| Improve this doc View sourceLog()
Builds an instance of the LogExactlyOnceStrategy that uses an IInboundLog to keep track of each processed message and guarantee that each one is processed only once.
Declaration
public static IExactlyOnceStrategy Log()
Returns
Type | Description |
---|---|
IExactlyOnceStrategy | The exactly-once strategy instance. |
OffsetStore()
Builds an instance of the OffsetStoreExactlyOnceStrategy that uses an IOffsetStore to keep track of the latest processed offsets and guarantee that each message is processed only once.
Declaration
public static IExactlyOnceStrategy OffsetStore()
Returns
Type | Description |
---|---|
IExactlyOnceStrategy | The exactly-once strategy instance. |