z4j Dramatiq queue engine adapter (Apache 2.0)
Project description
z4j-dramatiq
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
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- Issues: https://github.com/z4jdev/z4j-dramatiq/issues
- Changelog: CHANGELOG.md
- Security:
security@z4j.com(see SECURITY.md)
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 z4j_dramatiq-1.1.2.tar.gz.
File metadata
- Download URL: z4j_dramatiq-1.1.2.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30e242c843432c4e4c2baa6f6510688b80f923e4dc7fc797bf676bae8dccfdf3
|
|
| MD5 |
f74f6addda731cd7b8f5134bdf8a8937
|
|
| BLAKE2b-256 |
f3a0281388f642888d9664796b1a4f37965f1725cc7dc146688634bb7a6fb3e0
|
File details
Details for the file z4j_dramatiq-1.1.2-py3-none-any.whl.
File metadata
- Download URL: z4j_dramatiq-1.1.2-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dd54f04c5a18b7edd32f572ec832966e5e0a163375a144a2e5f862d4ba52b92
|
|
| MD5 |
7ceb923d23482a3c95de54d30ad20f09
|
|
| BLAKE2b-256 |
abcee3589e65f26947d4f032d420c90b7041bd3258bcb3e864991c8b51debe02
|