Azure servicebus broker for taskiq
Project description
Azure Service Bus broker for Taskiq
Example:
from taskiq_service_bus import ServiceBusBroker
SERVICE_BUS_CONNECTION_STRING = "your_connection_string_here"
broker = ServiceBusBroker(SERVICE_BUS_CONNECTION_STRING, "my-queue")
@broker.task
def example_task():
print("Task executed successfully")
Broker Parameters
connection_string- Service Bus Namespace connection string. Instructions on how to find it can be found here: Get the connection stringqueue_name- Name of the Service Bus queue to usemax_lock_renewal_duration- Maximum message lock renewal duration in seconds. Optional, defaults to 300.result_backend- Result backend to use. Optional.task_id_generator- custom task ID generator function. Optional, if not provided, taskiq will useuuid4.
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 taskiq_service_bus-0.2.0.tar.gz.
File metadata
- Download URL: taskiq_service_bus-0.2.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
919a62fa842e1c9bcbb64d935271eba67b72cbb20deb2d87c199c3eb2cdbf7dc
|
|
| MD5 |
4776bdee6d20eedfc4ae324fdaa54b89
|
|
| BLAKE2b-256 |
e8106a9baf9bfb56765f1e466e6cb75019a16a231a0dc5e2facfe6630cb0c708
|
File details
Details for the file taskiq_service_bus-0.2.0-py3-none-any.whl.
File metadata
- Download URL: taskiq_service_bus-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52411283fc4e03250eb705f434b5fcc5425e3384f60aa89db79665570d533bfe
|
|
| MD5 |
a1075b9c2a4f22f4d5c20ab018aea67f
|
|
| BLAKE2b-256 |
45e0635eb47637f1caf1478b262d7d95239798f3712b32a4b8f42729a9bf48f8
|