Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aprilahijriyan/rmq-rpc
A lightweight RPC based on RabbitMQ.
https://github.com/aprilahijriyan/rmq-rpc
python rabbitmq rpc
Last synced: about 2 months ago
JSON representation
A lightweight RPC based on RabbitMQ.
- Host: GitHub
- URL: https://github.com/aprilahijriyan/rmq-rpc
- Owner: aprilahijriyan
- License: mit
- Created: 2023-01-01T00:38:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T07:38:16.000Z (about 2 years ago)
- Last Synced: 2024-10-28T02:07:45.636Z (3 months ago)
- Topics: python, rabbitmq, rpc
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rmq-rpc
A lightweight RPC based on RabbitMQ.
## Installation
Install the module using `pip`:
```
pip install rmq-rpc
```## Features
- [x] Multiple serializer types support
- [x] Pickle (Enabled by default)
- [x] JSON
- [ ] MsgPack- [x] Task error handling
- [x] Task cancellation## Examples
See [project examples](https://github.com/aprilahijriyan/rmq-rpc/tree/main/examples)
## FAQ
- Can I use a different exchange between server and client?
> Certainly not. Because an 'exchange' is required to send a message to a specific queue associated with that exchange. So, you should use the same 'exchange'.
- What exchange types are supported?
> I've tested it using the `direct` and `topic` exchange types it seems to work fine. Besides, it may not work.