Each source reads raw bytes, applies a configured
decoding policy, and emits structured records into Tangent’s pipeline.
Source Types
| Type | Description | Example | 
|---|---|---|
| socket | Local Unix domain socket (fastest for local ingestion) | /tmp/sidecar.sock | 
| file | Read structured logs from local or mounted files | /var/log/app/access.log | 
| msk | Consume from Amazon MSK (Kafka) topics | b-1.example.com:9092 | 
| sqs | Poll messages from Amazon SQS queues | https://sqs.us-east-1.amazonaws.com/... | 
Common Configuration
Every source supports a few shared parameters:Selects the source type.
One of:
One of:
socket, file, msk, or sqs.Defines how incoming bytes are parsed into structured records.
See Decoding for format and compression options.
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.