Skip to content

How can I tell if connections are being routed to the reader node? #986

Closed Answered by efenderbosch-atg
efenderbosch-atg asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out. I needed to enable the readWriteSplitting along w/ the default plugins.

spring.datasource.hikari.data-source-properties.wrapperPlugins=readWriteSplitting,auroraConnectionTracker,failover,efm2

However, now it isn't connecting to the reader node.

TRACE [nio-8084-exec-1] s.amazon.jdbc.DriverConnectionProvider   : Connecting to jdbc:mysql://qa-reader.xxxx.us-east-1.rds.amazonaws.com:3306/wavebid
WARN [nio-8084-exec-1] s.a.j.p.r.ReadWriteSplittingPlugin       : Failed to connect to reader host: 'wavebid-qa-catalog-v2-reader.cna3kjeaiowf.us-east-1.rds.amazonaws.com:3306/'

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by efenderbosch-atg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants