Skip to main content

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 string
  • queue_name - Name of the Service Bus queue to use
  • max_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 use uuid4.

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

taskiq_service_bus-0.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

taskiq_service_bus-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

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

Hashes for taskiq_service_bus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 919a62fa842e1c9bcbb64d935271eba67b72cbb20deb2d87c199c3eb2cdbf7dc
MD5 4776bdee6d20eedfc4ae324fdaa54b89
BLAKE2b-256 e8106a9baf9bfb56765f1e466e6cb75019a16a231a0dc5e2facfe6630cb0c708

See more details on using hashes here.

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

Hashes for taskiq_service_bus-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52411283fc4e03250eb705f434b5fcc5425e3384f60aa89db79665570d533bfe
MD5 a1075b9c2a4f22f4d5c20ab018aea67f
BLAKE2b-256 45e0635eb47637f1caf1478b262d7d95239798f3712b32a4b8f42729a9bf48f8

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