Skip to main content

z4j Dramatiq queue engine adapter (Apache 2.0)

Project description

z4j-dramatiq

PyPI version Python License

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.

Compatibility

  • Dramatiq 1.14+ and <3 (capped below the eventual Dramatiq 3 breaking-major)
  • Python 3.10+

Full per-adapter matrix at https://z4j.dev/reference/compatibility/.

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

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.6.7.tar.gz (33.7 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.6.7-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for z4j_dramatiq-1.6.7.tar.gz
Algorithm Hash digest
SHA256 692413fe82fd16f792bf1ff1af2e0a3ad85f715b5084b9855741c106061a05a8
MD5 0063c019f4da2513349190a51549728a
BLAKE2b-256 b5eba183623bba367b1f92ad7a330594058f5b15922e673d6b70091dc70391d8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for z4j_dramatiq-1.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 feead79c5ff840ce143bc69badcb0ba15a1c02716d4d8d156bcfbe04ba809b40
MD5 fe8acdcffaf7f28e5daf9879897abcaa
BLAKE2b-256 417ae6fb0f0b355f6c76576a140cb3d3a6e72c6e2c24e618d982adfea074ebd3

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