Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andre-ols/node-rmq-mqtt
This is a simple PoC to demonstrate how to use RabbitMQ with MQTT protocol in node.js.
https://github.com/andre-ols/node-rmq-mqtt
Last synced: 4 days ago
JSON representation
This is a simple PoC to demonstrate how to use RabbitMQ with MQTT protocol in node.js.
- Host: GitHub
- URL: https://github.com/andre-ols/node-rmq-mqtt
- Owner: andre-ols
- License: mit
- Created: 2024-03-25T14:12:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-25T16:32:06.000Z (10 months ago)
- Last Synced: 2024-11-13T16:50:44.586Z (2 months ago)
- Language: Erlang
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple PoC with RabbitMQ using MQTT protocol
This is a simple PoC to demonstrate how to use RabbitMQ with MQTT protocol in node.js.
## Requirements
- Docker
- Node.js
- Yarn## How to run
1. Run RabbitMQ with MQTT plugin:
```bash
docker build -t rmq-mqtt .docker run -it -p 15672:15672 -p 5672:5672 -p 1883:1883 -v $PWD/docker/var/lib/rabbitmq:/var/lib/rabbitmq rmq-mqtt
```2. Install dependencies:
```bash
yarn install
```3. Run the producer:
```bash
yarn start:producer
```4. Run the consumer:
```bash
yarn start:consumer
```## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.