Skip to main content

z4j RQ queue engine adapter (Apache 2.0)

Project description

z4j-rq

PyPI version Python License

License: Apache 2.0 Status: v1.0.0 - first public release alongside z4j-celery and z4j-dramatiq.

The RQ (Redis Queue) queue-engine adapter for z4j. Drop into any RQ install (bare-Python, Django+django-rq, FastAPI, anything) and z4j observes every job your workers run - without modifying your task code.

Install

# As part of the z4j stack:
pip install z4j[rq]

# Or just this package:
pip install z4j-rq

What it ships on day 1

Capability Status Notes
Event capture (received / started / succeeded / failed) Worker-wrap (every job) + per-job callbacks (opt-in)
Discovery Walks queues + StartedJobRegistry + FinishedJobRegistry
retry Re-enqueues by id; refuses if job is currently running
cancel ⚠️ Queued jobs removed; running jobs get a stop-command (RQ ≥1.13)
purge_queue With confirm-token + Z4J_PURGE_THRESHOLD guard

What it deliberately does NOT ship

Capability Why
bulk_retry Deferred to v1.1
requeue_dead_letter Deferred to v1.1 (RQ has FailedJobRegistry)
restart_worker RQ workers expose no remote-control channel - never
rate_limit RQ has no per-task rate-limit primitive - never
pool grow / shrink / consumer ops RQ has no pool concept - never

The adapter advertises only what it implements via capabilities() - the dashboard hides every button it can't honor, so users never click an action that would silently fail.

Scheduler pairing

Use z4j-rqscheduler for rq-scheduler periodic jobs on the Schedules page.

Documentation

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_rq-1.1.2.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

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

z4j_rq-1.1.2-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file z4j_rq-1.1.2.tar.gz.

File metadata

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

File hashes

Hashes for z4j_rq-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b96c34576c479d73bf9dd6ffdc305c588bba054848323c6c1d66f389e495fcc0
MD5 8704654c40ef44cfffa77a6cd73ed619
BLAKE2b-256 8f2a68a78fba3b0138619f7ee9121472e1506679cb31ebf7f465eb078255bd8d

See more details on using hashes here.

File details

Details for the file z4j_rq-1.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for z4j_rq-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f11327f1f3cc917001272bb9eb76302a1d3df1821532cd6e369ff80c0379a2a
MD5 12df5972f1337ab673c3703029f12257
BLAKE2b-256 6cf7b870d8dd7b8dc9a721a5a285d24faf6fbfd51177fdcdce7a2ea073934be9

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