SmartThingsOSS / ratpack-cassandra

Other
14 stars 13 forks source link

[BEE-3985] Make UsedHostsPerRemoteDc Configurable #26

Closed drewpeterson closed 3 years ago

drewpeterson commented 3 years ago

This change is required to support migration of DCs. The service using this project would continue to keep an open connection to the old DC preventing it from being taken down. We need the ability to set this value to 0 to allow for the migration to take place.

https://docs.datastax.com/en/drivers/java/3.6/com/datastax/driver/core/policies/DCAwareRoundRobinPolicy.Builder.html#withUsedHostsPerRemoteDc-int-