namespace ZB.MOM.WW.MxGateway.Server.Configuration;

public sealed class EventOptions
{
    /// <summary>
    /// Gets the event queue capacity.
    /// </summary>
    public int QueueCapacity { get; init; } = 10_000;

    /// <summary>
    /// Gets the backpressure policy for event queue overflow.
    /// </summary>
    public EventBackpressurePolicy BackpressurePolicy { get; init; } = EventBackpressurePolicy.FailFast;
}
