Framework/Library/Template for Event-driven Microservices with RabbitMQ

Do you have any tips for framework/library/template focused on Event-driven Microservices with RabbitMQ (using the choreography approach)?

I have been developing a decentralized system for data processing that is primarily based on event-driven microservices with RabbitMQ. It mostly loads, transforms, and consolidates various data about financial transactions and trades for the purposes of daily reporting and alerts. It works with relatively small volumes of data, but the chaining of operations is a bit complex (multiple sources, multiple outputs). The routing features of RabbitMQ are ideal for this purpose. I mostly use the choreography approach. There is no orchestration from start to end, but each service knows how to react to various events/messages (distributed via Topic Exchanges).

While everything works nicely at a high level, the individual services have been developed rather rapidly and have huge room for improvement. I have been partially struggling with the issues described in this post. I would like to improve the quality of the code of newly introduced services and rewrite some of the old ones. To avoid reinventing the wheel I'm looking for a framework/library I can build on (something like Nameko, but with stronger support of the choreography approach).

When searching for this topic, I noticed that most resources are focused on synchronous systems (patterns around REST/RPC) and typically addressed use cases are far from what I'm working on (usually various web solutions with direct user interaction).

Here are some of the links I checked out:

https://nameko.readthedocs.io/en/stable/index.html

https://github.com/PythonCloudFrameworks/bunny-storm

https://github.com/python-microservices/

https://github.com/alairock/roborabbit

https://github.com/Ananto30/zero (uses ZeroMQ)

Do you have any other tips where should I look at?

Posted Dec 30, 2021, 5:16 PM UTC

20

No comments yet

Nobody commented on this post, or the comments weren't captured.