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.2.tar.gz (17.4 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.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file nexus_queue-0.1.2.tar.gz.

File metadata

  • Download URL: nexus_queue-0.1.2.tar.gz
  • Upload date:
  • Size: 17.4 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.2.tar.gz
Algorithm Hash digest
SHA256 6c60f370ca18549356c0eb2a89c1c41bd0f96bfd08f8b0604c22f512734a6c71
MD5 9f736d985b5c38d010355b47dea699c7
BLAKE2b-256 4464d48abc455ada558c1ea0dfe2812c9f01ad510abb44413fef1f52a4b17c7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexus_queue-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: nexus_queue-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aaebf358bc873cbf8a53cdddaab12ef3196274e2554d5ac49e130b84b0734bda
MD5 ce54208f71f3f0db28ac2e7af7abfdb1
BLAKE2b-256 47f3f28261a00caa73cc348228a69fa15d180e70b97ae73e98c75aa723bc3774

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexus_queue-0.1.2-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