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
cleanup
rebase
fix unit tests; code style
docs
fix 'failover' plugin for GDB; add PG support for GDB
adopt GDB support including Global Writer Endpoint to failover2
Copy file name to clipboardexpand all lines: README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,10 @@ With the `failover` plugin, the downtime during certain DB cluster operations, s
37
37
38
38
Visit [this page](./docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md) for more details.
39
39
40
+
### Using the AWS JDBC Driver with Amazon Aurora Global Databases
41
+
42
+
This driver supports in-region `failover` and between-regions `planned failover` and `switchover` of [Amazon Aurora Global Databases](https://aws.amazon.com/ru/rds/aurora/global-database/). A [Global Writer Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-connecting.html) is also recognized and can be handled to minimize potential stale DNS issue. Please check [failover plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheFailoverPlugin.md), [failover2 plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheFailover2Plugin.md) and [Aurora Initial Connection Strategy plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAuroraInitialConnectionStrategyPlugin.md) for more information.
43
+
40
44
### Using the AWS JDBC Driver with plain RDS databases
41
45
The AWS JDBC Driver also works with RDS provided databases that are not Aurora.
42
46
@@ -128,10 +132,6 @@ The development team is aware of these limitations and is working to improve the
128
132
129
133
[^1]: Aurora MySQL requires v3.07 or later.
130
134
131
-
#### Amazon Aurora Global Databases
132
-
133
-
This driver currently does not support `planned failover` or `switchover` of Amazon Aurora Global Databases. Failing over to a secondary cluster will result in errors and there may be additional unforeseen errors when working with global databases. Connecting to the primary cluster is fully supported. There is a limitation when connected to the secondary cluster; the [failover2 plugin](using-the-jdbc-driver/using-plugins/UsingTheFailover2Plugin) will not work on the secondary cluster, however the [failover plugin](using-the-jdbc-driver/using-plugins/UsingTheFailoverPlugin) will work. Full Support for Amazon Aurora Global Databases is in the backlog, but we cannot comment on a timeline right now.
134
-
135
135
## Examples
136
136
137
137
| Description | Examples |
@@ -153,7 +153,7 @@ This driver currently does not support `planned failover` or `switchover` of Ama
153
153
| Using Spring and Wildfly with the AWS JDBC Driver |[PostgreSQL](examples/SpringWildflyExample/README.md)|
154
154
| Using Vert.x and c3p0 with the AWS JDBC Driver |[PostgreSQL](examples/VertxExample/README.md)|
155
155
| Using the AWS JDBC Driver with Telemetry and using the AWS Distro for OpenTelemetry Collector |[PostgreSQL](examples/AWSDriverExample/src/main/java/software/amazon/TelemetryMetricsOTLPExample.java)|
156
-
| Using the AWS JDBC Driver with Telemetry and using the AWS X-Ray Daemon |[PostgreSQL](examples/AWSDriverExample/src/main/java/software/amazon/TelemetryMetricsXRayExample.java)|
156
+
| Using the AWS JDBC Driver with Telemetry and using the AWS X-Ray Daemon |[PostgreSQL](examples/AWSDriverExample/src/main/java/software/amazon/TelemetryTracingXRayExample.java)|
157
157
158
158
## Getting Help and Opening Issues
159
159
If you encounter a bug with the AWS JDBC Driver, we would like to hear about it.
|`GLOBAL_AURORA_MYSQL`|`global-aurora-mysql`|[Aurora Global Database MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-getting-started.html)|
21
22
|`RDS_MULTI_AZ_MYSQL_CLUSTER`|`rds-multi-az-mysql-cluster`|[Amazon RDS MySQL Multi-AZ DB Cluster Deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html)|
|`GLOBAL_AURORA_PG`|`global-aurora-pg`|[Aurora Global Database PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-getting-started.html)|
25
27
|`RDS_MULTI_AZ_PG_CLUSTER`|`rds-multi-az-pg-cluster`|[Amazon RDS PostgreSQL Multi-AZ DB Cluster Deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html)|
Copy file name to clipboardexpand all lines: docs/using-the-jdbc-driver/using-plugins/UsingTheAuroraInitialConnectionStrategyPlugin.md
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ When this plugin is enabled, if the initial connection is to a reader cluster en
5
5
6
6
This plugin also helps retrieve connections more reliably. When a user connects to a cluster endpoint, the actual instance for a new connection is resolved by DNS. During failover, the cluster elects another instance to be the writer. While DNS is updating, which can take up to 40-60 seconds, if a user tries to connect to the cluster endpoint, they may be connecting to an old node. This plugin helps by replacing the out of date endpoint if DNS is updating.
7
7
8
+
In case of Aurora Global Database, a user has an option to use an [Aurora Global Writer Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-connecting.html). Global Writer Endpoint makes a user application configuration easier. However, similar to a cluster writer endpoint mentioned above, it can also be affected by DNS updates. The Aurora Initial Connection Strategy Plugin recognizes an Aurora Global Writer Endpoint and substitutes it with a current writer endpoint.
9
+
8
10
## Enabling the Aurora Initial Connection Strategy Plugin
9
11
10
12
To enable the Aurora Initial Connection Strategy Plugin, add `initialConnection` to the [`wrapperPlugins`](../UsingTheJdbcDriver.md#connection-plugin-manager-parameters) value.
0 commit comments