Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crisu83/rabbitmq-domain-events
A proof of concept implementation of publishing and subscribing to domain events using RabbitMQ.
https://github.com/crisu83/rabbitmq-domain-events
Last synced: 13 days ago
JSON representation
A proof of concept implementation of publishing and subscribing to domain events using RabbitMQ.
- Host: GitHub
- URL: https://github.com/crisu83/rabbitmq-domain-events
- Owner: crisu83
- License: mit
- Created: 2022-10-13T13:32:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-15T21:56:13.000Z (over 2 years ago)
- Last Synced: 2024-12-17T12:08:03.620Z (about 1 month ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbitmq-domain-events
A proof of concept implementation of publishing and subscribing to domain events using RabbitMQ.
## Usage
Clone or download the repository.
Install dependencies:
```sh
yarn install
```Start the services:
```sh
yarn start
```## Output
Example output:
```sh
[*] Alpha started. Press CTRL+C to exit
[*] Charlie started. Press CTRL+C to exit
[*] Beta started. Press CTRL+C to exit
[x] Sent (alpha.heartbeat) 'Heartbeat from Alpha'
[x] Received (alpha.#) 'Heartbeat from Alpha'
[x] Charlie handled 'Heartbeat from Alpha'
[x] Sent (beta.heartbeat) 'Heartbeat from Beta'
[x] Received (beta.#) 'Heartbeat from Beta'
[x] Charlie handled 'Heartbeat from Beta'
[x] Sent (charlie.heartbeat) 'Heartbeat from Charlie'
[x] Received (charlie.#) 'Heartbeat from Charlie'
[x] Beta handled 'Heartbeat from Charlie'
```