Class OutboxPartitionOptions
- Namespace
- Excalibur.Outbox.Partitioning
- Assembly
- Excalibur.Outbox.dll
Configuration options for partitioned outbox processing.
public sealed class OutboxPartitionOptions
- Inheritance
-
OutboxPartitionOptions
- Inherited Members
Properties
ErrorBackoffInterval
Gets or sets the back-off interval after an error processing a partition.
public TimeSpan ErrorBackoffInterval { get; set; }
Property Value
- TimeSpan
The error back-off interval. Default is 5 seconds.
PartitionCount
Gets or sets the number of partitions for hash-based partitioning.
[Range(1, 256)]
public int PartitionCount { get; set; }
Property Value
- int
The partition count. Default is 8. Only used when Strategy is ByTenantHash.
PollingInterval
Gets or sets the polling interval when no messages are available in a partition.
public TimeSpan PollingInterval { get; set; }
Property Value
- TimeSpan
The polling interval. Default is 1 second.
ProcessorCountPerPartition
Gets or sets the number of processor instances per partition.
[Range(1, 2147483647)]
public int ProcessorCountPerPartition { get; set; }
Property Value
- int
The processor count per partition. Default is 1.
ShardIds
public List<string> ShardIds { get; set; }
Property Value
Strategy
Gets or sets the partitioning strategy.
public OutboxPartitionStrategy Strategy { get; set; }
Property Value
- OutboxPartitionStrategy
The partition strategy. Default is None.