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

Uploaded Source

Built Distribution

eventiq_asb-0.1.9-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eventiq_asb-0.1.9.tar.gz
  • Upload date:
  • Size: 11.6 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.9.tar.gz
Algorithm Hash digest
SHA256 2c9522f6133752d2b847697fc23e640c1745a73fb3f97179b31d63145d44d93b
MD5 c49c6add2c01899530c6effffe30467d
BLAKE2b-256 871da32ce1e3e800bcfa110c93428f9badaaa71405dc4490e49d9ce57a843aeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eventiq_asb-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c970faa4c87580381da80a5339900c59108b712e4236c07ff2c0a05f06aa6815
MD5 23621762f5263b7c62601e2c147d8c06
BLAKE2b-256 1fedd5fa0f7eea1284ad807abf22d604f2aa961352c4346cfec6b0366d65bba9

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