Simple content-based message broker for microservices written in TypeScript.
tsmq allows you to:
- Publish messages to a topic (e.g.
Free taxis in Paris) - Subscribe to a topic to be notified when a message is published
- Define a constraint for messages you want to receive (e.g.
In Paris)
To install tsmq locally, run:
git clone git@github.com:redte-ch/tsmq.git
cd tsmq
yarn installTo start the broker:
yarn startTo publish a message:
yarn publish topic="topic" "Filter"To subscribe to a topic:
yarn subscribe topic="topic" "Filter"To run the tests:
yarn test