MQTT Messaging for Pip.Services in Node.js / ES2017
This module is a part of the Pip.Services polyglot microservices toolkit.
The MQTT module contains a set of components for messaging using the Mqtt protocol. Contains the implementation of the components for working with messages: MqttMessageQueue, MqttConnectionResolver.
The module contains the following packages:
- Build - factory default implementation
- Connect - components for setting up the connection to the MQTT broker
- Queues - components of working with a message queue via the MQTT protocol
Use
Install the NPM package as
npm install pip-services3-mqtt-nodex --save
Develop
For development you shall install the following prerequisites:
- Node.js 14+
- Visual Studio Code or another IDE of your choice
- Docker
- Typescript
Install dependencies:
npm install
Compile the code:
tsc
Run automated tests:
npm test
Generate API documentation:
./docgen.ps1
Before committing changes run dockerized build and test as:
./build.ps1
./test.ps1
./clear.ps1
Contacts
The Node.js version of Pip.Services is created and maintained by Sergey Seroukhov