Azure Service Bus broker implementation for eventiq
Project description
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
Release history Release notifications | RSS feed
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.7.tar.gz
(11.5 kB
view details)
Built Distribution
File details
Details for the file eventiq_asb-0.1.7.tar.gz
.
File metadata
- Download URL: eventiq_asb-0.1.7.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc33e34c1c16d868c537e20cc74a010e47af74ad781fbfc28bfd267276a6b84e |
|
MD5 | cf4042a34c36a4a85ec3f364a12b2de2 |
|
BLAKE2b-256 | 52ca2328fb499d1c4f0b4bdef3047769e52b3660d71ad7174160f75cd5fb05f2 |
File details
Details for the file eventiq_asb-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: eventiq_asb-0.1.7-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf92407681f119cec1d177a213816cdde0fbc5cc31a82847b9ff9691f67b695 |
|
MD5 | bd423363fc4d59fac2dca47b23fe50c3 |
|
BLAKE2b-256 | 707c4dc5811eefcb38e82fe6e75b89034d7329bd7d5b6803e4de10bbe6e77d2f |