Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable an option for executing read queries against the reader instances in rds-data #6531

Closed
2 tasks
alejandromendeza opened this issue Sep 29, 2024 · 3 comments
Assignees
Labels
closed-for-staleness feature-request New feature or enhancement. May require GitHub community feedback. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.

Comments

@alejandromendeza
Copy link

Describe the feature

It would be great to execute Data API queries not only to the writer instances, but pointing to the reader ones in a DB cluster.

Use Case

Gradually replace any third-party library (such as mysql2 in javascript) for handling RDS queries in a Serverless environment.

Proposed Solution

The secret's JSON already contains the host, so, it should be easy for the service to honor such a value (if present). In that way the secretArn passed to the commands would determine whether the client hits the reader or writer endpoints of the clusters.

Other Information

The lack of this ability make much of us stay using third-party libs hora handling connections to the RDS (including managing connections pools, which is a little bit more complex in serverless scenarios)

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

V3.660.0

Environment details (OS name and version, etc.)

Any

@alejandromendeza alejandromendeza added feature-request New feature or enhancement. May require GitHub community feedback. needs-triage This issue or PR still needs to be triaged. labels Sep 29, 2024
@aBurmeseDev aBurmeseDev self-assigned this Sep 30, 2024
@aBurmeseDev
Copy link
Member

Hi @alejandromendeza - thanks for reaching out.

Could you please provide more details about your workflow process and specify what you need from the AWS SDK for JavaScript team? This will help us better understand your feature request.

@aBurmeseDev aBurmeseDev added response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Sep 30, 2024
Copy link

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Oct 11, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
closed-for-staleness feature-request New feature or enhancement. May require GitHub community feedback. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants