onestep-sqs
Amazon SQS connector plugin for onestep.
pip install onestep-sqs
The package registers these YAML resource types through the onestep.resources
entry point:
sqssqs_queue
Python usage:
from onestep_sqs import SQSConnector
Delivery metadata
Fetched messages keep the existing OneStep body decoding behavior and expose
SQS system metadata under delivery.envelope.meta["sqs"]:
{
"message_id": "00000000-0000-0000-0000-000000000000",
"attributes": {
"ApproximateReceiveCount": "2",
"SentTimestamp": "1720000000000",
},
}
The current message's MessageId sets message_id. Its Attributes sets
attributes to an isolated snapshot of the complete system attributes
dictionary. When no existing SQS metadata or current system fields are
available, meta["sqs"] is an empty dictionary.
Existing envelope meta and attempts values are preserved. If the encoded
envelope already contains a meta["sqs"] dictionary, its other keys are kept.
The reserved message_id and attributes keys are populated only from the
current SQS response, so missing fields do not inherit stale transport values.
ReceiptHandle remains internal to acknowledgement, retry, and release
operations. Custom SQS MessageAttributes are not exposed in the envelope.
Shutdown and pause behavior
SQS receives use a blocking long poll, so shutdown, drain, and pause wait for the current poll to finish instead of cancelling it. Any deliveries returned after fetching has stopped are released immediately with a visibility timeout of zero when processing has not started, making them available to SQS consumers again without waiting for the configured visibility timeout.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onestep_sqs-0.2.3.tar.gz.
File metadata
- Download URL: onestep_sqs-0.2.3.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25965ddb4d84929a7df50d70a7bc7ccb3d2cb91e26a1b23d4295d8f910b364a5
|
|
| MD5 |
039bbc6f7eb835bb5c248d220a721242
|
|
| BLAKE2b-256 |
f8fba606df38ffb929ecc93974543bb3f1ab2c96d100b543ae2773dbbc01c541
|
File details
Details for the file onestep_sqs-0.2.3-py3-none-any.whl.
File metadata
- Download URL: onestep_sqs-0.2.3-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d171abc4c14610cb1aec1a868cec30cc7789ecedf7361c9d264f363f3bf07ccf
|
|
| MD5 |
3fe3182d8088c9df71457847a54eb2ed
|
|
| BLAKE2b-256 |
8d79191bebebe7e93ff8e104b0a60439faee017f23dff013d8992d5f9278154a
|