Skip to main content

z4j Dramatiq queue engine adapter (Apache 2.0)

Project description

z4j-dramatiq

PyPI version Python License

License: Apache 2.0 Status: v1.0.0 — first public release alongside z4j-celery and z4j-rq.

The Dramatiq queue-engine adapter for z4j. Drop into any Dramatiq install (Redis OR RabbitMQ broker — both first-class on day 1) and z4j observes every actor your workers run via the canonical Dramatiq middleware chain — no monkey-patches, no subclassing, no host code changes.

Install

# Redis broker
pip install z4j[dramatiq] dramatiq[redis]
# OR RabbitMQ broker
pip install z4j[dramatiq] dramatiq[rabbitmq]

# Or just this package:
pip install z4j-dramatiq

What it ships on day 1

Capability Status Notes
Event capture (received / started / succeeded / failed) Z4JMiddleware in your broker chain — blessed observability hook
Discovery Walks broker.actors
retry Re-sends the actor's message
cancel ⚠️ Promoted into capabilities iff Abortable middleware is installed
purge_queue With confirm-token + Z4J_PURGE_THRESHOLD guard
Dual-broker (Redis + RabbitMQ) Both natively supported, both in CI

What it deliberately does NOT ship

Capability Why
bulk_retry Deferred to v1.1
requeue_dead_letter Deferred to v1.1 (Dramatiq has DeadLetter middleware)
rate_limit Deferred to v1.1 (Dramatiq has Throttler middleware)
restart_worker Dramatiq workers expose no remote-control channel — never
pool grow / shrink / consumer ops Dramatiq has no pool concept — never

The adapter advertises only what it implements via capabilities() — the dashboard hides every button it can't honor. The cancel button only appears if Abortable is in your middleware stack.

Scheduler pairing

Dramatiq has no built-in scheduler; use z4j-apscheduler to surface APScheduler-driven periodic / cron jobs on the Schedules page.

Documentation

License

Apache 2.0 — see LICENSE.

Links

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

z4j_dramatiq-1.0.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

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

z4j_dramatiq-1.0.0-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file z4j_dramatiq-1.0.0.tar.gz.

File metadata

  • Download URL: z4j_dramatiq-1.0.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for z4j_dramatiq-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ea65122166bb3211e743cbbcfe024676a746a172f9c17b26e7930b3698c4e02b
MD5 4a34e76e9ed312996fe6dcea87c7bb33
BLAKE2b-256 514bca4f69c84907382cbdabcc83913846860f36c98f3674611afe490d94c782

See more details on using hashes here.

File details

Details for the file z4j_dramatiq-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: z4j_dramatiq-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for z4j_dramatiq-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9a8ae85f7a48eef318e265752ce5b42a83f305e62982143c3b1775507ada15c
MD5 4ba1fd8955c97c00ebcd37ac8555f438
BLAKE2b-256 c0794157f745d6720f44f214eb1f67ac58b09d8b0ea6eff3357106542400b9d8

See more details on using hashes here.

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