You can use an MQTT client to subscribe to messages about VMware Cloud Director events and tasks.
MQTT is a lightweight, binary, messaging transport protocol. VMware Cloud Director uses MQTT to publish information about events and tasks to which you can subscribe by using an MQTT client. MQTT messages pass through an MQTT broker which can also store messages in case the clients are not online.
Starting with VMware Cloud Director 10.2.2, you can use an MQTT client to subscribe to metrics.
Prerequisites
- Verify that you have an MQTT client that supports WebSocket.
- Verify that you can add headers to a WebSocket-upgraded request.
- If you want to subscribe to metrics, configure the metrics collection and enable metrics publishing. See Configure Metrics Collection and Publishing in VMware Cloud Director.