pub unsafe extern "C" fn cass_cluster_set_token_aware_routing(
cluster: *mut CassCluster,
enabled: cass_bool_t,
)
Expand description
Configures the cluster to use token-aware request routing or not.
Important: Token-aware routing depends on keyspace metadata. For this reason enabling token-aware routing will also enable retrieving and updating keyspace schema metadata.
Default: cass_true (enabled).
This routing policy composes the base routing policy, routing requests first to replicas on nodes considered ‘local’ by the base load balancing policy.
@public @memberof CassCluster
@param[in] cluster @param[in] enabled