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.5.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.5.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: z4j_dramatiq-1.5.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.5.0.tar.gz
Algorithm Hash digest
SHA256 18e38db2e2ac118e3085f3fd09230a1f0d107fed118ea6ef9561c1749d69621d
MD5 f019327a89ade90e7a8167bb6e026612
BLAKE2b-256 1c0770ed3e158a8bdda29c7ca2dd023b042d4eebbdd018b3f8790654709a451d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: z4j_dramatiq-1.5.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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04e1ed7872fe0a799fce480373ec817b061a6417bbb1246a8dddf844ca76a579
MD5 8eb0642c7a8e8784407568609ea275e5
BLAKE2b-256 7e974412c0ee69fa8cad354ea65af84dd34ee2bb568803a1ce64e91eb69d6378

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