nest-mqtt icon indicating copy to clipboard operation
nest-mqtt copied to clipboard

A MQTT module for Nest.js.

Results 14 nest-mqtt issues
Sort by recently updated
recently updated
newest added

publish method don't need stringify message.

I'm getting the issue about reconnect while lost connection because of the same cilentId. Are there any options to set new clientId when reconnect?

You are using an old MQTT version @microud

Hi there, would like to ask why would I get this error when I try to publish a string? Here attached are the errors stated in command prompt: SyntaxError: Unexpected...

Another solution for [Issue #15](https://github.com/microud/nest-mqtt/issues/15).

Possible solution for [Issue #15](https://github.com/microud/nest-mqtt/issues/15). I'm not sure if MqttService is the best place for this but it's working.

When a NestJS application using this MQTT module is shut down, the MQTT connection created is not properly closed bi calling the [end method](https://github.com/mqttjs/MQTT.js#mqttclientendforce-options-callback). This may keep the application running...

In my use case, I need two global MQTT clients: one using MQTT protocol, the other using websockets. I added the following into `app.module.ts`: ```ts @Module({ imports: [ MqttModule.forRoot({ port:...

When trying to publish a proto binary buffer the object is converted to JSON string, but it should be published as it is since the client supports buffer / Uint8Array...