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.0.tar.gz
(10.6 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b35d75901c6c8637c79faa9bfa062e957d5287fc9777b241f70ec1a2bf0314 |
|
MD5 | 10fa19d7ecf10466a40a1e36893f6f6d |
|
BLAKE2b-256 | d8e6cdbed6b58c19ceadc5a25c65a75fa16a3558dafee9138e3b4ab73cb90f85 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31506cd1bb8ae34dfecbd1affd9c29e1e2628370a69cc6a0c29da82060d71b02 |
|
MD5 | dfbac4e04cdd30410967a5a57d7fd52d |
|
BLAKE2b-256 | 27b7221f2bb809386fac35139f9f6154da0b0ec7f5f79173496d4940cd1294c0 |