ch.TABLE Stream¶
ch.TABLE streams pass messages from data producers to
the chwriter services, which writes them into ClickHouse database.
Each ClickHouse table has own ch.TABLE stream, i.e. interfaces table
uses ch.interface stream, while macs table uses ch.macs stream.
Publishers¶
- discovery service.
- syslogcollector service.
- Any service providing Span telemetry.
./noc bi loadcommand.
Subscribers¶
- chwriter service.
Message Headers¶
ch.TABLE stream doesn't use additional headers.
Message Format¶
ch.TABLE streams holds newline-separated JSON objects, i.e. JSONEachRow
ClickHouse format
Partitioning¶
Each ClickHouse shard has separate partition. Non-sharded installations utilize single partition.