Class OffsetStoreExactlyOnceStrategy
Uses an IOffsetStore to keep track of the latest processed offsets and guarantee that each message is processed only once.
Implements
Inherited Members
Namespace: Silverback.Messaging.Inbound.ExactlyOnce
Assembly: Silverback.Integration.dll
Syntax
public class OffsetStoreExactlyOnceStrategy : IExactlyOnceStrategy
Methods
| Improve this doc View sourceBuild(IServiceProvider)
Returns the actual strategy implementation, built using the provided IServiceProvider.
Declaration
public IExactlyOnceStrategyImplementation Build(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The IServiceProvider to be used to build the strategy. |
Returns
Type | Description |
---|---|
IExactlyOnceStrategyImplementation | An instance of IExactlyOnceStrategyImplementation that can be used to produce the messages. |