...
Set the MQTT client ID to the full device path:
Code Block projects/PROJECT_ID/locations/REGION/registries/REGISTRY_ID/devices/DEVICE_ID
Associate the MQTT client with MQTT server certificates.
Choose the appropriate MQTT host name or a long-term support domain (if you used the minimal root CA set).
Specify a username. The MQTT bridge ignores the username field, but some MQTT client libraries will not send the password field unless the username field is specified. For best results, supply an arbitrary username like
unused
orignored
.Set the password. The password field must contain the JWT.
...