z4j Dramatiq queue engine adapter (Apache 2.0)
Project description
z4j-dramatiq
The Dramatiq engine adapter for z4j.
Streams every Dramatiq actor lifecycle event from your workers to the
z4j and accepts operator control actions from the dashboard.
Dramatiq has no upstream scheduler, so for periodic schedules pair with
z4j-scheduler.
What it ships
| Capability | Notes |
|---|---|
| Message lifecycle events | enqueued, started, succeeded, failed, retried, skipped |
| Actor discovery | runtime registry merge + static scan |
| Submit / retry / cancel | direct against the Dramatiq broker |
| Bulk retry | filter-driven; re-enqueues matching messages |
| Purge queue | with confirm-token guard |
| Reconcile task | via Redis / RabbitMQ broker introspection |
Captured via Dramatiq's middleware hook system, your existing actors do not need to be decorated or modified.
Install
pip install z4j-dramatiq
Pair with a framework adapter:
pip install z4j-django z4j-dramatiq # Django
pip install z4j-flask z4j-dramatiq # Flask
pip install z4j-fastapi z4j-dramatiq # FastAPI
pip install z4j-bare z4j-dramatiq # framework-free worker
For schedules, install z4j-scheduler as a separate process.
Reliability
- No exception from the adapter ever propagates back into Dramatiq middleware or your actor code.
- Events buffer locally when z4j is unreachable; workers never block on network I/O.
Documentation
Full docs at z4j.dev/engines/dramatiq/.
License
Apache-2.0, see LICENSE.
Links
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- PyPI: https://pypi.org/project/z4j-dramatiq/
- 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.4.0.tar.gz.
File metadata
- Download URL: z4j_dramatiq-1.4.0.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d790a6208929edc69db727cf1a3dca3a3b37eda1248170f1ff68f06c3429da24
|
|
| MD5 |
9187c03a1da1d6a3d77fe6382fc07af8
|
|
| BLAKE2b-256 |
4bfdc4d5820b99e1fb9b6acc37d95666365e2890dfde566fbd98d46122e73070
|
File details
Details for the file z4j_dramatiq-1.4.0-py3-none-any.whl.
File metadata
- Download URL: z4j_dramatiq-1.4.0-py3-none-any.whl
- Upload date:
- Size: 28.8 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 |
dddb1b567e08f4fc318d33875fd6e2c07b4793f26af813ca16f908454fd1fe4f
|
|
| MD5 |
a8363fa4bb0ec75d161041848cd9e7ae
|
|
| BLAKE2b-256 |
4fb5b3781da7cc4a940de6abddc31284bdee475e791ffdd6f4e3cbc445c7f3b3
|