I have been trying to integrate Keycloak with the AWS Advanced JDBC Wrapper + Aurora. I will configure autoReadWriteSplitting with two endpoints — one is the writer and the other is the reader. It will automatically analyze the SQL and the transaction readOnly field to decide which endpoint will be used to handle the query. However, I wonder if there are any potential issues that could happen, e.g., read-write inconsistency, missing sessions, etc. Please let me know your thoughts.
Seems like complexity and risk - what does this solve? Is there a latency or scaling problem?