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.3.tar.gz (17.6 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.3-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexus_queue-0.1.3.tar.gz
  • Upload date:
  • Size: 17.6 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.3.tar.gz
Algorithm Hash digest
SHA256 f50b48b804780f5abc9e2ab1d85999b3bb9b01932e26dbba9eaa879c16eb6aca
MD5 3b0eeafe8cc3bab5e570c0902652d9d8
BLAKE2b-256 c9792d86884a0dd4e8e3cf01b8bb6954b068a45bf07258483284ca72e51db0d5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nexus_queue-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15b187f482058feac93a29bfef694aeedb82401e3e773ac7cf5d4657a5637ef2
MD5 65568d10d7153cb525676dc180e0d724
BLAKE2b-256 74690a41124e5d7e8fafa27f06f827ec198ed43791780e49c49bd6a1854efd4e

See more details on using hashes here.

Provenance

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