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.1.tar.gz
(10.7 kB
view details)
Built Distribution
File details
Details for the file eventiq_asb-0.1.1.tar.gz
.
File metadata
- Download URL: eventiq_asb-0.1.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaac1cf068b957df2c87961555d4502be762395729733998963b545716da001d |
|
MD5 | c78c267b86d3a0030ce153cedf189575 |
|
BLAKE2b-256 | b631d18b82a63623c42277994fcea4bb1a477e930308f415bdd4d1ca95660d37 |
File details
Details for the file eventiq_asb-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: eventiq_asb-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.6 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 | 663e2ec34a972e851b7b7e55c185b708fcbae7bc26d660130e388938585ff24d |
|
MD5 | 53d66f81f41b9b1a74734b0d3eb12890 |
|
BLAKE2b-256 | 6f8cbc4fcb979fb277f4bd3ccc476339286a91b8267c59fb601937968e0fefcf |