Skip to main content
Sources define where Tangent reads data from — for example, a local Unix socket, Amazon SQS queue, file, or Kafka/MSK topic.
Each source reads raw bytes, applies a configured decoding policy, and emits structured records into Tangent’s pipeline.

Source Types


Common Configuration

Every source supports a few shared parameters:
string
required
Selects the source type.
One of: socket, file, msk, or sqs.
object
Defines how incoming bytes are parsed into structured records.
See Decoding for format and compression options.

Example (MSK Source)

tangent.yaml

Behavior

  • Each source runs in its own async worker, managed by Tangent’s runtime.
  • Data is read continuously, batched in memory, and flushed based on runtime settings (batch_size / batch_age).
  • Decoding and optional re-encoding happen before the data enters the plugin or sink DAG.

See also