This is useful for event-driven pipelines, asynchronous log forwarding, or integrating with other AWS services that publish to SQS.
Schema
The full URL of the SQS queue to poll.
Example:
Example:
https://sqs.us-east-1.amazonaws.com/123456789012/my-queueLong polling duration in seconds.
Controls how long Tangent waits for messages before returning an empty response.
Defaults to
Controls how long Tangent waits for messages before returning an empty response.
Defaults to
20.The duration (in seconds) that a message remains invisible to other consumers after Tangent retrieves it.
Defaults to
Defaults to
60.Controls how Tangent parses message payloads after retrieval.
See Decoding for supported formats (
See Decoding for supported formats (
json, ndjson, msgpack, etc.).Example
tangent.yaml
Behavior
- Tangent uses the AWS SDK to long-poll the specified queue for messages.
- 
When a message arrives:
- The payload is decoded according to the decodingconfiguration.
- Each decoded record is passed into the pipeline.
 
- The payload is decoded according to the 
- Messages are automatically deleted after successful processing.
- Visibility timeouts prevent duplicate processing in concurrent consumers.
Best Practices
- Keep wait_time_secondshigh (e.g., 20s) to reduce API calls and costs.
- Ensure the IAM role or credentials used by Tangent have sqs:ReceiveMessageandsqs:DeleteMessagepermissions.
- Tune visibility_timeoutto be slightly longer than your typical plugin or sink processing time to avoid message re-delivery.
- Use decoding.format: jsonorndjsonfor structured logs, ortextfor plain message bodies.