You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to find out the load balancing policies configuration using express-cassandra as we do in cassandra-driver
const CASSANDRA_LOADBALANCER_OPTIONS = {
"DCAwareRoundRobin": new cassandra.policies.loadBalancing.DCAwareRoundRobinPolicy(),
"LoadBalancer": new cassandra.policies.loadBalancing.LoadBalancingPolicy(),
"RoundRobin": new cassandra.policies.loadBalancing.RoundRobinPolicy(),
"TokenAware": new cassandra.policies.loadBalancing.TokenAwarePolicy(
new cassandra.policies.loadBalancing.RoundRobinPolicy())
};
Here cassandra is instance of cassandra-driver.
The text was updated successfully, but these errors were encountered:
I am trying to find out the load balancing policies configuration using express-cassandra as we do in cassandra-driver
const CASSANDRA_LOADBALANCER_OPTIONS = {
"DCAwareRoundRobin": new cassandra.policies.loadBalancing.DCAwareRoundRobinPolicy(),
"LoadBalancer": new cassandra.policies.loadBalancing.LoadBalancingPolicy(),
"RoundRobin": new cassandra.policies.loadBalancing.RoundRobinPolicy(),
"TokenAware": new cassandra.policies.loadBalancing.TokenAwarePolicy(
new cassandra.policies.loadBalancing.RoundRobinPolicy())
};
Here cassandra is instance of cassandra-driver.
The text was updated successfully, but these errors were encountered: