Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.