LoadBalancingConfig

Load balancing policy for multi-datacenter deployments.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

DCs to fail over to, in priority order. Required when dcAwareFailover = true.

Link copied to clipboard

Allow the driver to use replicas in remote DCs when the local DC is unavailable.

Link copied to clipboard

Maximum number of remote replicas used per remote DC during failover.

Link copied to clipboard

Route queries to the token owner — avoids coordinator hop (always recommended).