Class TsakNodeProps

Assembly: redb.Tsak.Core.Pro.dll

Props of the redb scheme for cluster node registration and heartbeat tracking.
Each running tsak instance creates one record in this scheme.

[RedbScheme("_tsak_nodes")]
public class TsakNodeProps

Inheritance

Object→TsakNodeProps

Properties

ApiEndpoint

Public API endpoint for this node (e.g. "http://host:9090").

public string ApiEndpoint { get; set; }

Capabilities

Comma-separated capability tags (e.g. "route,cron,kafka").

public string Capabilities { get; set; }

ClusterName

Cluster this node belongs to. Null on a record written before cluster isolation (4.0.x and

public string? ClusterName { get; set; }

Contexts

Context snapshots updated with each heartbeat.

public Dictionary<string, TsakContextInfo> Contexts { get; set; }

Cordoned

Cordoned = takes on no new work (keeps current work running until drained). Orthogonal to

public bool Cordoned { get; set; }

GroupName

Cluster group this node belongs to.

public string GroupName { get; set; }

Hostname

Machine hostname.

public string Hostname { get; set; }

InstanceToken

The worker process that holds the record: a token drawn when the process registers. A process that finds the

public string? InstanceToken { get; set; }

LastHeartbeat

Last heartbeat timestamp (UTC). Updated periodically.

public DateTimeOffset LastHeartbeat { get; set; }

NodeId

Unique node identifier (from config or auto-generated).

public string NodeId { get; set; }

ProtocolVersion

Coordination protocol the node speaks. The nodes of one cluster group must speak one protocol;

public int ProtocolVersion { get; set; }

StartedAt

Timestamp when the node started.

public DateTimeOffset StartedAt { get; set; }

Status

Current node status.

public int Status { get; set; }

Version

Application version running on this node.

public string Version { get; set; }