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

Uploaded Python 3

File details

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

File metadata

  • Download URL: taskiq_service_bus-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.1

File hashes

Hashes for taskiq_service_bus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c121a112fceb54df080013395b16906eb4426b3467e5cba29957664db1e0202
MD5 f00bad7dd207004d3528c9c2e27573b1
BLAKE2b-256 f437cacd1e0c7c89f52156a74fc173aab17626546cccca05da9cb141b2ce4164

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for taskiq_service_bus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92f5962760463ad6333f6eb4f3054e38ea1d272aac59abb45201870e3b14b770
MD5 1a6afd1743c29ba0af054f33f37d59ab
BLAKE2b-256 96da205edf24e28d166252d99b39dff3d7d76e297cd1ed1a64961b55902beb67

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