spring-projects / spring-projects/spring-integration

Extend PgConnectionSupplier so we can also use it for releasing connections

Open
#10,672 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-reporter type: enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.