The failover policy option in the connection URL for the HA Cluster should be set to roundrobin.
The Master broker should be put into a first place in brokerlist URL option.
The recommended value for connectdelay option in broker URL should be set to
the value greater than 1000 milliseconds. If it is desired that clients re-connect automatically after a
master to replica failure,
cyclecount should be tuned so that the retry period is longer than
the expected length of time to perform the failover.
Example 12.2. Example of connection URL for the HA Cluster