Pass specialized replication scheme to driver #181
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @bgorbuntsov, Unfortunately, the AWS JDBC Driver for MySQL only supports failover functionality for the "jdbc:mysql:aws://" protocol. During a cluster failover, the driver picks up a new elected writer node or a random reader node, if eligible, and keeps that connection. The driver doesn't Read load balancing is on our list for future releases; however, we cannot provide exact timelines at the moment. We'll reach out when we have more information. Thanks! |
Beta Was this translation helpful? Give feedback.
Hello @bgorbuntsov,
Unfortunately, the AWS JDBC Driver for MySQL only supports failover functionality for the "jdbc:mysql:aws://" protocol. During a cluster failover, the driver picks up a new elected writer node or a random reader node, if eligible, and keeps that connection. The driver doesn't
switch the connection to distribute a read load. The driver, however, supports the original "jdbc:mysql:replication://" protocol as it's been inherited from the community MySQL JDBC driver, but with no advanced failover support.
Read load balancing is on our list for future releases; however, we cannot provide exact timelines at the moment. We'll reach out when we have more information.
Thanks!