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.3.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.3.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file taskiq_service_bus-0.3.0.tar.gz.

File metadata

  • Download URL: taskiq_service_bus-0.3.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.3.0.tar.gz
Algorithm Hash digest
SHA256 18a3b0db54549702ae429da82adad4b0d18f7f69e2850302b753a2ad998f75be
MD5 d0ac8be22d5e5f7ca35013f934a9cf77
BLAKE2b-256 48e65082f23370333b8fe2108eb123cb55af5eec4129eb91d9317d0ab12809a8

See more details on using hashes here.

File details

Details for the file taskiq_service_bus-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: taskiq_service_bus-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b64a4232d3a75c9c9cee8b54cd2a35a054184cea08e27602e1db60e5370ca024
MD5 6b6ffed673dad355630b727cb64840f6
BLAKE2b-256 d8af77cacdd93a8b857b5ff76ca7632bef42f0dab17ae2c57a4a97cb1c107c35

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