z4j taskiq queue engine adapter (Apache 2.0)
Project description
z4j-taskiq
z4j queue-engine adapter for taskiq.
from taskiq_redis import RedisStreamBroker, RedisAsyncResultBackend
from z4j_taskiq import TaskiqEngineAdapter
broker = RedisStreamBroker(url="redis://redis:6379/0")
broker = broker.with_result_backend(
RedisAsyncResultBackend(redis_url="redis://redis:6379/1"),
)
# In your z4j-bare bootstrap:
from z4j_bare import install_agent
install_agent(engines=[TaskiqEngineAdapter(broker=broker)])
Capabilities
- ✅ Task discovery (every
@broker.task) - ✅ Result-backend reconciliation (
reconcile_task) - readsbroker.result_backendto classify task state. - ❌
cancel_task- taskiq has no native cancel primitive across brokers; deferred to v1.1. - ❌
retry_task- same; needs the original message to re-kick. - ❌
bulk_retry,purge_queue,restart_worker,rate_limit- no broker-agnostic primitive.
Periodic tasks
taskiq has a separate taskiq.scheduler.TaskiqScheduler package
for cron schedules. Pair this adapter with z4j-taskiqscheduler
to surface them on the Schedules page.
Apache 2.0.
License
Apache 2.0 - see LICENSE. This package is deliberately permissively licensed so that proprietary Django / Flask / FastAPI applications can import it without any license concerns.
Links
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- Source: https://github.com/z4jdev/z4j-taskiq
- Issues: https://github.com/z4jdev/z4j-taskiq/issues
- Changelog: CHANGELOG.md
- Security:
security@z4j.com(see SECURITY.md)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file z4j_taskiq-1.0.1.tar.gz.
File metadata
- Download URL: z4j_taskiq-1.0.1.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13c2b1cea5b7776430bf4084fbe3a925133187cae4cd1ef6d37e5b713c7fde8b
|
|
| MD5 |
c776ba3eaf8b74406c4fc40d8c25c410
|
|
| BLAKE2b-256 |
cca09c08ce0171979d0e4a1d6b4aacbffccc2d1fb7239a72ee3746568a0f9b0e
|
File details
Details for the file z4j_taskiq-1.0.1-py3-none-any.whl.
File metadata
- Download URL: z4j_taskiq-1.0.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d451c2fb9ba52f622435f5c5aad8d8be13d147217a499311a701b845834fb1
|
|
| MD5 |
bab59c4fd5e88f59f86438a7d15c238d
|
|
| BLAKE2b-256 |
f54e2dae50a6984c4f19631aebb2fccea12ad9e5da06c3355b7ef2086c119246
|