randomizeServerAddresses property
If set, the server name is resolved and each of its addresses is tried in random order, moving on to the next when the connection, or for a secure connection the TLS handshake, fails. Use it when the name has several addresses to spread clients across brokers: left to the platform resolver every client tends to connect to the same address, and a failed TLS handshake is not retried on another one.
Applicable only to TCP connections, not websockets.
Implementation
bool randomizeServerAddresses = false;