Skip to main content

Azure Service Bus broker implementation for eventiq

Project description

Tests Build License Mypy Ruff security: bandit Python Format PyPi

eventiq-asb

Azure Service Bus broker implementation for eventiq

Installation

pip install eventiq-asb

With optional dependencies:

pip install 'eventiq-asb[aiohttp]'

Usage

from eventiq import CloudEvent, Service

from eventiq_asb import AzureServiceBusBroker, DeadLetterQueueMiddleware

service = Service(
    name="example-service",
    broker=AzureServiceBusBroker(
        topic_name="example-topic", url="sb://example.servicebus.windows.net/"
    ),
)

service.add_middleware(DeadLetterQueueMiddleware)

@service.subscribe(topic="example-topic")
async def example_consumer(message: CloudEvent):
    print(message.data)

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

eventiq_asb-0.1.5.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

eventiq_asb-0.1.5-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file eventiq_asb-0.1.5.tar.gz.

File metadata

  • Download URL: eventiq_asb-0.1.5.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for eventiq_asb-0.1.5.tar.gz
Algorithm Hash digest
SHA256 16f59cff39bd6e05f88c9cc200146aa5eef5e5bd5e23999281e4cc2ac0772edc
MD5 ae60e6f9b692e84dc95ac5a9f934a859
BLAKE2b-256 5602cc59b87f836bb4c878f15d05ff8f635c5dafe56757bdda739ca3287cabb6

See more details on using hashes here.

File details

Details for the file eventiq_asb-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: eventiq_asb-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for eventiq_asb-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 60fe9ef03451175d39d5faf0f3d80f4f495647df8b5f4721b673156294fde756
MD5 12b7debb481208fac378bf7b7020456f
BLAKE2b-256 1a861c7ccb9663a07f71b4c8a809f071a109f71c7f502a126a37bb750cb0efed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page