in 3.6.0 we are using
withLoadBalancingPolicy(DCAwareRoundRobinPolicy.builder().withLocalDc("localdc")
.withUsedHostsPerRemoteDc(2).allowRemoteDCsForLocalConsistencyLevel().build());
Please help me to configure the same in 4.6.1
in 3.6.0 we are using
withLoadBalancingPolicy(DCAwareRoundRobinPolicy.builder().withLocalDc("localdc")
.withUsedHostsPerRemoteDc(2).allowRemoteDCsForLocalConsistencyLevel().build());
Please help me to configure the same in 4.6.1
You need driver 4.10 or higher (4.11 is currently the latest).
See the manual to understand how to configure your DC failover.
5 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use