We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b14be0 commit 73c6dc6Copy full SHA for 73c6dc6
wrapper/src/main/java/software/amazon/jdbc/hostlistprovider/RdsHostListProvider.java
@@ -186,7 +186,7 @@ protected void init() throws SQLException {
186
final String clusterIdSetting = CLUSTER_ID.getString(this.properties);
187
if (!StringUtils.isNullOrEmpty(clusterIdSetting)) {
188
this.clusterId = clusterIdSetting;
189
- } else if (rdsUrlType == RdsUrlType.RDS_PROXY) {
+ } else if (rdsUrlType == RdsUrlType.RDS_PROXY || rdsUrlType == RdsUrlType.RDS_CUSTOM_CLUSTER) {
190
// Each proxy is associated with a single cluster, so it's safe to use RDS Proxy Url as cluster
191
// identification
192
this.clusterId = this.initialHostSpec.getUrl();
0 commit comments