kmamykin / aws-mqtt

Serverless PubSub using AWS IoT message broker
MIT License
106 stars 30 forks source link

Config Publish and subscribe topic with QOS1! #28

Open kieugol opened 3 years ago

kieugol commented 3 years ago

Hi Mr @kmamykin

For the best feature in MQTT is qos1 but I tried to find that configuration but not found on your documentation.

Pls teach me or show me the example how to do w it.

Thanks!

kmamykin commented 3 years ago

Hi @kieugol QoS configuration is not specific to this project. As it's using MQTT.js under the hood, I would look at https://github.com/mqttjs/MQTT.js#qos and search in that documentation how to specify it in the options.

AWS IoT MQTT documentation is also critical: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html Note that AWS MQTT only supports MQTT Quality of Service (QoS) levels 0 and 1