Class EndpointAlertChannel

Assembly: redb.Tsak.Core.dll

Generic route-endpoint channel: sends the alert JSON to any redb.Route producer URI
(kafka:topic, amqp:queue, mqtt:…) via a .

This is how brokers are supported without Core taking a compile-time dependency on any broker
connector: the target component must be registered in the host's _system context (Tsak.Worker
loads connectors as shared assemblies at runtime). If it is not, the send fails and the
dispatcher logs it — the same as any other misconfigured channel.

public sealed class EndpointAlertChannel : IAlertChannel, IDisposable

Inheritance

Object→EndpointAlertChannel

Implements

Properties

IsEnabled

Whether this channel is turned on and fully configured.

public bool IsEnabled { get; }

Name

Short stable name, used in logs and the per-channel test result.

public string Name { get; }

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

SendAsync(AlertNotification, CancellationToken)

Delivers one alert. Implementations must throw on failure (the dispatcher isolates and

public Task SendAsync(AlertNotification alert, CancellationToken ct)

Constructors