Class TsakAuditRouteBuilder

Assembly: redb.Tsak.Core.dll

Audit writer: direct://tsak-audit → INSERT into tsak_audit_log.
Values arrive as audit.* headers, the sanitized argument JSON as the body.

The sink is an endpoint on purpose: pointing the same event stream at a file, a broker or
an HTTP collector is a configuration change, not a code change.


The endpoint names the statement instead of carrying it. The INSERT is a named query the writer
publishes on its own context, and its values travel as a map keyed by column, which the sql
connector binds to :#column by itself. Before, the INSERT text and seventeen param.*
options were the endpoint URI — printed whole in every start log and on the Endpoints page.
Whoever mounts the writer still publishes only the data source, as before.

public sealed class TsakAuditRouteBuilder : RouteBuilder, IRouteBuilder

Inheritance

Object→RouteBuilder→TsakAuditRouteBuilder

Implements

Inherited Members

Methods

Configure()

Override this method to define routes using .

protected override void Configure()

Constructors