namespace NATS.Server.Configuration;

public sealed class ClusterOptions
{
    public string? Name { get; set; }
    public string Host { get; set; } = "0.0.0.0";
    public int Port { get; set; } = 6222;
    public int PoolSize { get; set; } = 3;
    public List<string> Routes { get; set; } = [];
    public List<string> Accounts { get; set; } = [];
    public RouteCompression Compression { get; set; } = RouteCompression.None;

    // Go: opts.go — cluster write_deadline
    public TimeSpan WriteDeadline { get; set; }
}
