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

Uploaded Source

Built Distribution

eventiq_asb-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eventiq_asb-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for eventiq_asb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 37b35d75901c6c8637c79faa9bfa062e957d5287fc9777b241f70ec1a2bf0314
MD5 10fa19d7ecf10466a40a1e36893f6f6d
BLAKE2b-256 d8e6cdbed6b58c19ceadc5a25c65a75fa16a3558dafee9138e3b4ab73cb90f85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eventiq_asb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for eventiq_asb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31506cd1bb8ae34dfecbd1affd9c29e1e2628370a69cc6a0c29da82060d71b02
MD5 dfbac4e04cdd30410967a5a57d7fd52d
BLAKE2b-256 27b7221f2bb809386fac35139f9f6154da0b0ec7f5f79173496d4940cd1294c0

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