Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ToGoBananas/moleculer-python
Basic functionality for moleculer.services with amqp broker and json serializer
https://github.com/ToGoBananas/moleculer-python
Last synced: 2 months ago
JSON representation
Basic functionality for moleculer.services with amqp broker and json serializer
- Host: GitHub
- URL: https://github.com/ToGoBananas/moleculer-python
- Owner: ToGoBananas
- Created: 2018-01-17T13:53:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T13:03:08.000Z (almost 7 years ago)
- Last Synced: 2024-08-03T02:06:46.598Z (5 months ago)
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-moleculer - moleculer-python - Python implementation of the Moleculer microservices framework. (Polyglot Implementations / Python)
README
### Usage:
Each node should run instance of `MoleculerNode` class. Node id can be specified on initialization.
To configure node you must edit `moleculer/service.py` file.
Service configuration in `INFO_PACKET_TEMPLATE`
To handle requests from other nodes (call, dcall), you must implement `request_handler` function.
To handle events (emit, broadcast), you must implement `event_handler`.