SpecsModelExplore
Overview
Actors
External Systems
IoT Platform
Edge
Ingestion
Stream Processing
Stream Processor
Batch Processor
Job SchedulerSpark RunnerExport Writer
Device Management
User-Facing Apps
Platform
SpecsModelExplore
Export Writer
OverviewGuideLinks and Communications
IDproduct.processing.batch_processor.export_writer
DescriptionWrites curated datasets to object storage.
Keyexport_writer
Typecomponent
TeamStream Processing
Ownerstream-processing@iotgateway.example
Statusactive
TechnologiesScala, S3
Attributescompression: snappy, format: Parquet
Tags
Table of contents
Guide
Export Writer
Write behaviour
Commit
Register
Notes

Guide

Export Writer

The Export Writer is the final stage of a batch job. It takes the curated records produced by the Spark Runner and writes them as partitioned, columnar files into object storage for analytics and long-term archival.

Write format

Output is Parquet with snappy compression, partitioned by date. The columnar layout keeps downstream analytical scans cheap and the partitioning lets consumers prune to the days they need.

Write behaviour

Stage

Results are written to a temporary prefix so a partially written partition is never visible to readers.

Commit

On success the staged files are atomically promoted to the final date partition, replacing any prior output for an idempotent rewrite.

Register

The new partition is recorded so analytics consumers can discover it.

Notes

  • Re-running a date overwrites that date’s partition cleanly, supporting corrections and backfills without duplicates.
  • Object storage is the archival boundary of the platform — the curated history lives here for downstream analytics.

Links and Communications

1 outgoing link

Outgoing Links(1)

Target objectLabelLink typeRelationRaw idRequiredDescription
Spark Runner

example-iot.product.processing.batch_processor.spark_runner

component
writes datasets from—linksproduct.processing.batch_processor.spark_runner——