Class ClusterOptions

Assembly: redb.Tsak.Core.Pro.dll

Configuration options for cluster coordination.
Bound to the Tsak:Cluster configuration section.

public class ClusterOptions

Inheritance

Object→ClusterOptions

Properties

ApiEndpoint

Public API endpoint of this node (e.g. "https://node1.prod.local:443").

public string? ApiEndpoint { get; set; }

ClusterName

Cluster name. Scopes the cluster tree and every coordination record (nodes, locks,

public string ClusterName { get; set; }

DeadNodeTimeoutSeconds

Seconds without heartbeat before a node is considered dead. Default: 60.

public int DeadNodeTimeoutSeconds { get; set; }

Enabled

Enable cluster mode. Default: false (single-node).

public bool Enabled { get; set; }

FailedRetryBackoffSeconds

Backoff before a Failed module assignment is retried (reassigned) by the leader, so a

public int FailedRetryBackoffSeconds { get; set; }

GroupName

Group name within the cluster. Default: "default".

public string GroupName { get; set; }

HeartbeatIntervalSeconds

Heartbeat interval in seconds. Default: 15.

public int HeartbeatIntervalSeconds { get; set; }

LeaderLockTtlSeconds

TTL for the leader lock in seconds. Default: 30.

public int LeaderLockTtlSeconds { get; set; }

NodeId

Unique node identifier. Default: machine hostname.

public string? NodeId { get; set; }

Strategy

Assignment strategy: "round-robin" or "least-loaded". Default: round-robin.

public string Strategy { get; set; }