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.

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.0.tar.gz (32.1 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.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: z4j_dramatiq-1.6.0.tar.gz
  • Upload date:
  • Size: 32.1 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.0.tar.gz
Algorithm Hash digest
SHA256 f011bdf18a33cc29532b21d33423d8e055e8f9c25c89a463e1485f44267abf36
MD5 f5cc426ded422b8d8dc35ac2ca3d0018
BLAKE2b-256 5c6ca3298552d278df0f5aa3cb7488358c624ca96245dc280aa2019895fe43ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: z4j_dramatiq-1.6.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

Hashes for z4j_dramatiq-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05de8bd866826dbacf446084b21deabb86eb8dff1c05cc073541247aaaf7d608
MD5 a43cfbce40e89d7f7d09304f0954f7c5
BLAKE2b-256 1a6c7fb2b49def02c840073443639485e3b4ea1e6f3801186546983da061de38

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