namespace NATS.Server.JetStream.Models; public sealed class ConsumerConfig { public string DurableName { get; set; } = string.Empty; public string? FilterSubject { get; set; } public AckPolicy AckPolicy { get; set; } = AckPolicy.None; public DeliverPolicy DeliverPolicy { get; set; } = DeliverPolicy.All; public ReplayPolicy ReplayPolicy { get; set; } = ReplayPolicy.Instant; public int AckWaitMs { get; set; } = 30_000; public int MaxDeliver { get; set; } = 1; public bool Push { get; set; } public int HeartbeatMs { get; set; } } public enum AckPolicy { None, Explicit, All, }