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.11+

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.7.0.tar.gz (68.2 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.7.0-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: z4j_celery-1.7.0.tar.gz
  • Upload date:
  • Size: 68.2 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.7.0.tar.gz
Algorithm Hash digest
SHA256 9f0cb04d797fd7c895aaf330f67245a5d49baacf0ddd20410d9ff206ac1a734d
MD5 ebc66d71419fdbbd42ce3b5316e46bcd
BLAKE2b-256 51c7888de304cbb07c5577176b483a56dbf958f09c8e966a23464c9493022f9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: z4j_celery-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 62.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_celery-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f79d4741e9126cdcb14f7cde52ef7ed92c8253f89249d34a9b8fc7c2ec5cb0
MD5 a298ba635e23ebc9f586ea2a63236296
BLAKE2b-256 58ffea9417dc62a2926f2a374eefe2ba6b39d640a8da4a6c0c9322cc070fc7b2

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