namespace ZB.MOM.WW.OtOpcUa.Cluster;
public sealed class AkkaClusterOptions
{
public const string SectionName = "Cluster";
/// Gets or sets the Akka system name.
public string SystemName { get; set; } = "otopcua";
/// Gets or sets the hostname to bind to (default 0.0.0.0).
public string Hostname { get; set; } = "0.0.0.0";
/// Gets or sets the port to listen on (default 4053).
public int Port { get; set; } = 4053;
///
/// Hostname advertised in cluster gossip. Must be reachable by other nodes.
/// In docker-compose this is the container DNS name; in bare metal it's the
/// host's stable LAN address.
///
public string PublicHostname { get; set; } = "127.0.0.1";
/// Gets or sets the seed nodes for cluster bootstrapping.
public string[] SeedNodes { get; set; } = Array.Empty();
///
/// Cluster roles for this node. When empty the role list comes from
/// OTOPCUA_ROLES via . Allowed values:
/// admin, driver, dev.
///
public string[] Roles { get; set; } = Array.Empty();
}