/**
 * Recorder E2E — StreamHub config.
 *
 * One source consuming the UDPS stream emitted by RecorderStreamer.cfg
 * (UDPStreamer on port 44600). The +Recorder block is enabled and
 * auto-starts, writing FileWriter-compatible binary files to
 * /tmp/streamhub_rec_e2e. Signals="all" records every signal the source
 * reports, in source order (Signal_100, Signal_1K, Signal_5K).
 */
Hub = {
    WSPort        = 8095
    MaxPoints     = 200000
    PushRate      = 30
    MaxPushPoints = 2000
    RingTemporal  = 1000000
    RingScalar    = 100000
    +Recorder = {
        Enabled          = 1
        AutoStart        = 1
        Directory        = "/tmp/streamhub_rec_e2e"
        MaxFileMB        = 256
        KeepFiles        = 8
        StagingMB        = 16
        FlushIntervalSec = 1
        MinDiskFreeMB    = 200
        Signals          = "all"
    }
    Sources = {
        e2e = {
            Label = "Recorder E2E source"
            Addr  = "127.0.0.1"
            Port  = 44600
        }
    }
}
