spring-projects / spring-projects/spring-integration
Extend PgConnectionSupplier so we can also use it for releasing connections
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 1.2k
- Avg merge
- 17h 48m
- Merged PRs (30d)
- 62
Description
Expected Behavior
Also use PgConnectionSupplier to release connections;
Current Behavior
PgConnectionSupplier is only used to obtain a connection.
Context
You may need to know when the connection is returned (e.g., for o11y or AWS IAM auth).
So also having an optional release method on this would make life easier (without subclassing PGConnection)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating PgConnectionSupplier and tracing where it is used to obtain and return connections. Review the surrounding connection lifecycle and existing tests, then verify that callers can observe a connection being returned while existing acquisition behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql, spring
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100