Nexus-Queue — portable taskiq + Redis Streams worker runtime: namespaced streams, versioned envelope, ports-and-adapters, retry/DLQ/idempotency/tracing/metrics middleware.
Project description
nexus-queue
Portable worker runtime for the Nexus-Queue standard: taskiq + Redis Streams, domain-agnostic, ports-and-adapters. One project builds queues the same way as the next, and a worker's handlers move between projects unchanged.
What this package owns (the parts that are the same across projects):
- Namespaced streams —
nq:{project}:{queue}(+:cg,:dlq) andnq:{project}:status, so multiple projects/queues coexist on one Redis (the default global"taskiq"stream is never used). - Versioned envelope — standard labels (
nq_v,nq_task,nq_tenant,nq_idem,nq_trace,nq_enqueued_at,nq_priority) on top of taskiq's message, plus typed pydantic payloads. - Ports —
JobStatePort,BlobStorePort,IndexPort,StatusEventPort. Handlers depend only on these; each project supplies the adapters (e.g. Payload vs Postgres/MinIO). - Middleware stack (broker-level): idempotency (dedup on
nq_idem), DLQ (dead-letter on retry-exhaustion instead of silent drop), retries with exponential backoff + jitter, OTel tracing (nq_tracepropagation), and Prometheus metrics. - Producer + kicker — a Python
Publisherand a generic HTTP kicker for non-Python producers. The TypeScript producer client ships as@zetesis/nexus-queue.
Spec: nexus-queue-spec.md.
Released via release-please on every conventional commit to main
(scope nexus-queue).
Project details
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 nexus_queue-0.1.4.tar.gz.
File metadata
- Download URL: nexus_queue-0.1.4.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
282a967f250c22c7eeafcb95f6322e0e744d2e72acd4b2a0456463e831188b4a
|
|
| MD5 |
43606377ebf239e0a372979195fc5314
|
|
| BLAKE2b-256 |
9efd088bb8db22aa8feacc585885f37c0a2fda08826f89196dacced772480e6b
|
Provenance
The following attestation bundles were made for nexus_queue-0.1.4.tar.gz:
Publisher:
release-please.yml on Zetesis-Labs/PayloadAgents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nexus_queue-0.1.4.tar.gz -
Subject digest:
282a967f250c22c7eeafcb95f6322e0e744d2e72acd4b2a0456463e831188b4a - Sigstore transparency entry: 1863248899
- Sigstore integration time:
-
Permalink:
Zetesis-Labs/PayloadAgents@40b1799bb3dc1e1d1c6fa406b2f051ca8799fd8a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Zetesis-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@40b1799bb3dc1e1d1c6fa406b2f051ca8799fd8a -
Trigger Event:
push
-
Statement type:
File details
Details for the file nexus_queue-0.1.4-py3-none-any.whl.
File metadata
- Download URL: nexus_queue-0.1.4-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eaab558eb60b3bffd83529d8c2cecca25a9067830639acaed73f1dbac4f9d01
|
|
| MD5 |
460c4bcaa040437d35de7b83f0596b02
|
|
| BLAKE2b-256 |
0404d9f08a9c37e64a9a0a658fe9fedf6747f548bd7676a760e5e00ba3f0e6c3
|
Provenance
The following attestation bundles were made for nexus_queue-0.1.4-py3-none-any.whl:
Publisher:
release-please.yml on Zetesis-Labs/PayloadAgents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nexus_queue-0.1.4-py3-none-any.whl -
Subject digest:
8eaab558eb60b3bffd83529d8c2cecca25a9067830639acaed73f1dbac4f9d01 - Sigstore transparency entry: 1863249282
- Sigstore integration time:
-
Permalink:
Zetesis-Labs/PayloadAgents@40b1799bb3dc1e1d1c6fa406b2f051ca8799fd8a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Zetesis-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@40b1799bb3dc1e1d1c6fa406b2f051ca8799fd8a -
Trigger Event:
push
-
Statement type: