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.3.tar.gz
(11.4 kB
view details)
Built Distribution
File details
Details for the file eventiq_asb-0.1.3.tar.gz
.
File metadata
- Download URL: eventiq_asb-0.1.3.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 | 5943bc5662a162d71b4db341c75bacb3b0ad68f9fc6f8b2482d7ac44d188bdb4 |
|
MD5 | ede04350e5865e064f4a4c2f26b51524 |
|
BLAKE2b-256 | ab2d624bc9f5753e63e132235b0f537b94b7db45f883017fecaa03e48eaebf0d |
File details
Details for the file eventiq_asb-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: eventiq_asb-0.1.3-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 | 50ab0254ae53b01130b2e5bfe437ac0ae7e77975a06f67bf9d4e0c3f9f226ee3 |
|
MD5 | d92557b8191a5f516c38becf87eb73cb |
|
BLAKE2b-256 | 7e8e411d727bbe52b39a2824e6fe6d5f96afe69f629bdf94fbca6778029937d8 |