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.6.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

eventiq_asb-0.1.6-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eventiq_asb-0.1.6.tar.gz
Algorithm Hash digest
SHA256 567e63cd62507e2d73e25b6d3d0a2c264aa9f83fca49bb9e3c449efa0063d67f
MD5 d069ee97d67f277ac3750f72c8da7b65
BLAKE2b-256 25d147142d053204e90f8a954cf04ee02ddb7b935a72b312610b6ee4f8e49104

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eventiq_asb-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9a2af72d0ae4f27fb05f30829ff12e0c09b2d917ebd91e887b89574bc5c9341d
MD5 d5816793fcda535d91d6407780b20fea
BLAKE2b-256 e24accb33c645e42fe3a21426fe050314501acb5f0e6c461149194caa6a561a2

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