Publish with Quality of Service (QoS) 1 to MQTT bridge in Google Cloud Platform (GCP)
When devices publish to MQTT bridge in GCP, they can set the Quality of Service to 0 or 1. When QoS is set to 1, the message will be delivered at least once.
IoT Cloud Tester application provides an easy interface to set the QoS for the MQTT connection.
To set Quality of Service (QoS) to 1 for MQTT connection,
- Add a device to the device registry in GCP
- In the 'Publish' tab, select the value for the QoS field from the dropdown.
- Click on the 'Publish' button to start publishing data for the selected device(s).
When QoS is set to 1, the message will be acknowledged by PUBACK message after it has been successfully sent to Google Cloud.
The Pub/Sub monitor will show the data published by the devices.