Skip to main content

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 streamsnq:{project}:{queue} (+ :cg, :dlq) and nq:{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.
  • PortsJobStatePort, 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_trace propagation), and Prometheus metrics.
  • Producer + kicker — a Python Publisher and 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

nexus_queue-0.1.4.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexus_queue-0.1.4-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

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

Hashes for nexus_queue-0.1.4.tar.gz
Algorithm Hash digest
SHA256 282a967f250c22c7eeafcb95f6322e0e744d2e72acd4b2a0456463e831188b4a
MD5 43606377ebf239e0a372979195fc5314
BLAKE2b-256 9efd088bb8db22aa8feacc585885f37c0a2fda08826f89196dacced772480e6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexus_queue-0.1.4.tar.gz:

Publisher: release-please.yml on Zetesis-Labs/PayloadAgents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for nexus_queue-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8eaab558eb60b3bffd83529d8c2cecca25a9067830639acaed73f1dbac4f9d01
MD5 460c4bcaa040437d35de7b83f0596b02
BLAKE2b-256 0404d9f08a9c37e64a9a0a658fe9fedf6747f548bd7676a760e5e00ba3f0e6c3

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page