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.8.tar.gz
(11.5 kB
view details)
Built Distribution
File details
Details for the file eventiq_asb-0.1.8.tar.gz
.
File metadata
- Download URL: eventiq_asb-0.1.8.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 | 5c0a0fc91cfc8e7198da39ce3e6461a1b4c8426e6c876d9b61419377af644736 |
|
MD5 | a80533583cf4f632c78d2ecf06f5b19a |
|
BLAKE2b-256 | 094289beb53605d4e3c09ae1e1985810d0a1180c064f039b69b1aff806ca3d1d |
File details
Details for the file eventiq_asb-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: eventiq_asb-0.1.8-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 | a5322e72e218766042fb976d63115b34882584c5d46b7694138ba3e02c653462 |
|
MD5 | 83abff7b9464fe00aa668e528389c9d2 |
|
BLAKE2b-256 | 6af8102b8294b72ec8b47881ada59186a5fc071e94c1c9fa15d21607dd2ccd90 |