Skip to main content

z4j Celery queue engine adapter (Apache 2.0)

Project description

z4j-celery

PyPI version Python License

The Celery engine adapter for z4j.

Streams every task lifecycle event from your Celery workers to the z4j brain and accepts operator control actions from the dashboard. Pair with z4j-celerybeat to manage periodic / cron schedules.

Compatibility

  • Celery 5.2+ (no upper cap)
  • Python 3.10+

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

What it ships

Capability Notes
Task lifecycle events submitted, started, succeeded, failed, retried, revoked
Task discovery runtime registry merge + static tasks.py scan
Submit / retry / cancel direct against the Celery app
Bulk retry filter-driven; re-enqueues matching tasks
Purge queue with confirm-token guard
Requeue dead-letter from the configured DLX
Restart worker broadcast pool restart, zero task loss
Pool grow / shrink via Celery's control API
Rate limit broker-side via Celery's control channel
Reconcile task via the result backend

The widest feature coverage of any z4j engine adapter, Celery's rich remote-control surface lets z4j ship capabilities other engines can't match (pool restart with zero task loss, broker-side rate limiting).

Install

pip install z4j-celery z4j-celerybeat

Pair with a framework adapter:

pip install z4j-django  z4j-celery z4j-celerybeat   # Django
pip install z4j-flask   z4j-celery z4j-celerybeat   # Flask
pip install z4j-fastapi z4j-celery z4j-celerybeat   # FastAPI
pip install z4j-bare    z4j-celery z4j-celerybeat   # framework-free worker

Pairs with

  • z4j-celerybeat, schedule adapter for Celery Beat / django-celery-beat

Reliability

  • No exception from the adapter ever propagates back into your Celery workers or signal handlers.
  • Events buffer locally when z4j is unreachable; your workers never slow down or block on network I/O.

Documentation

Full docs at z4j.dev/engines/celery/.

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_celery-1.6.7.tar.gz (67.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

z4j_celery-1.6.7-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for z4j_celery-1.6.7.tar.gz
Algorithm Hash digest
SHA256 d3491d39d699067193bb42beec63276bc5597fa7e3874dcf0049f6748240dd06
MD5 8a54c7b0f48510a52426732e86ff260c
BLAKE2b-256 9f425aea4dee153506d6e398c4d19ea2d0a01f68ed563c85806b32ebcea14298

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for z4j_celery-1.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b029ccae3bffc7e6851ec3613bb939a80d084afa5ba72a7660dfed1636693568
MD5 cf2e1221009b61ed9db29ae736f4b0f9
BLAKE2b-256 8b1cff7fd0fef12ac1314cdfc57e08e8df11ae0cbb3dfa9072992f948406f27c

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