Skip to main content

Module archive_format

Module archive_format 

Source
Expand description

On-disk format shared by the archiver and the recompress tool.

The archiver binary writes every sample file with this schema and these writer settings, and the recompress tool rewrites older files into the same format. The exporter reads the files back and serves them as CSV over NATS. Keeping the format in one module means both writers produce identical files.

Constants§

SAMPLE_SCHEMA
Two-column schema of every archived sample file.

Functions§

writer_properties
Parquet writer settings for the two-column sample schema.
writer_properties_for_calibration
Writer settings for a file carrying one calibration JSON document.