TestimoX

API Reference

Class

SinkConfig

Namespace TestimoX.Configuration.Service
Assembly TestimoX
Modifiers sealed

Generic sink definition. Sinks are created by SinkFactory based on Type.

Inheritance

  • Object
  • SinkConfig

Constructors

Properties

public String Type { get; set; } #

Sink kind, e.g., JsonFile.

public List<String> Streams { get; set; } #

Optional list of stream names this sink receives (supports simple wildcards like "gpo.*"). When omitted, the sink receives all streams.

public String FileNamePattern { get; set; } #

Optional per-stream file name pattern; supports tokens: {stream}, {date}, {runid}, {hostname}, {forest}.

public String Format { get; set; } #

Optional format hint for sinks that support multiple modes (e.g., json or jsonl).

public Dictionary<String, JsonElement> Settings { get; set; } #

Free-form settings consumed by the sink (e.g., retry knobs). Values can be native JSON types (string/number/boolean) and are normalized at runtime by the sink factory.