Class EventSubscriptionOptions
- Namespace
- Excalibur.EventSourcing.Subscriptions
- Assembly
- Excalibur.EventSourcing.dll
Configuration options for event subscriptions.
public sealed class EventSubscriptionOptions
- Inheritance
-
EventSubscriptionOptions
- Inherited Members
Properties
BufferSize
Gets or sets the buffer size for event batching.
[Range(1, 10000)]
public int BufferSize { get; set; }
Property Value
- int
The buffer size. Default is 100.
MaxBatchSize
Gets or sets the maximum batch size for event delivery.
[Range(1, 10000)]
public int MaxBatchSize { get; set; }
Property Value
- int
The maximum batch size. Default is 50.
PollingInterval
Gets or sets the polling interval for checking new events.
public TimeSpan PollingInterval { get; set; }
Property Value
- TimeSpan
The polling interval. Default is 1 second.
StartPosition
Gets or sets the starting position for the subscription.
public SubscriptionStartPosition StartPosition { get; set; }
Property Value
- SubscriptionStartPosition
The start position. Default is End.
StartPositionValue
Gets or sets the specific position to start from when StartPosition is Position.
public long StartPositionValue { get; set; }
Property Value
- long
The start position value. Default is 0.