AMQP Pub/Sub for the Hydromill project. This project is a direct port of https://github.com/ThreeDotsLabs/watermill-amqp.
Project description
Hydromill AMQP Pub/Sub
AMQP Pub/Sub for the Hydromill project. This project is a direct port of Watermill AMQP Pub/Sub.
Usage
Example publisher:
amqp_uri = "amqp://guest:guest@localhost:5672/"
amqp_config = await new_durable_pubsub_config(amqp_uri)
publisher = await new_publisher(amqp_config)
message = Message(payload=b"simple")
await publisher.publish("topic", messages=[message])
References
License
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
hydromill_amqp-0.1a7.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for hydromill_amqp-0.1a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5039c3a63a95389ca8ecadb3c169bc4c76b4ebed5fe6537ba7ebeb863695add1 |
|
MD5 | a63afaf191aedd21ef485a6ea449c272 |
|
BLAKE2b-256 | 1c26bafeb4d680464859a42cf590dcad63f198be720fd9b6111b916d503a4131 |