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.4.tar.gz
(11.4 kB
view details)
Built Distribution
File details
Details for the file eventiq_asb-0.1.4.tar.gz
.
File metadata
- Download URL: eventiq_asb-0.1.4.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd368aa9f1513ee65ae6b4e124fad6cf776c6774b4251caa5340ae9ac49d5d1 |
|
MD5 | 82580984c5d369b044332bfa9de8bb81 |
|
BLAKE2b-256 | a12955ba83062b4116bfadc8b4d7571720f11c79ebdcd88b7aba4b48e2c3a659 |
File details
Details for the file eventiq_asb-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: eventiq_asb-0.1.4-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6712055a59b3e5e2f5096bb185cfb6f5aefec69f709203f8522c3ffff758a3cf |
|
MD5 | 787793261fb8331a9d6d0efd2030b64d |
|
BLAKE2b-256 | 7969badb9ffff09225654a0f0a28f03e268f7b91aa960aa7fdec89f1c0a49207 |