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
// Check for mutual exclusivity with client routes
943
+
if (clientRoutesConfig != null) {
944
+
LOG.info(
945
+
"Both a secure connect bundle and client routes configuration were provided. They are mutually exclusive. The configuration from the secure bundle will have priority.");
946
+
clientRoutesConfig = null;
947
+
}
942
948
}
943
949
944
950
// Handle client routes configuration
@@ -951,9 +957,10 @@ protected final CompletionStage<CqlSession> buildDefaultSessionAsync() {
951
957
if (!"PassThroughAddressTranslator".equals(translatorClass)
"Client routes configuration is mutually exclusive with a custom AddressTranslator. "
956
-
+ "Either remove the address translator configuration or do not use client routes.");
960
+
LOG.info(
961
+
"Both client routes configuration and a custom AddressTranslator were provided. They are mutually exclusive. The client routes configuration will have priority.");
962
+
// Note: We don't clear clientRoutesConfig here - it takes precedence.
963
+
// The AddressTranslator will be effectively ignored when client routes are active.
957
964
}
958
965
}
959
966
@@ -962,18 +969,9 @@ protected final CompletionStage<CqlSession> buildDefaultSessionAsync() {
962
969
for (ClientRoutesEndpointendpoint : clientRoutesConfig.getEndpoints()) {
0 commit comments