testcontainers / testcontainers/testcontainers-java
Container reuse across r2dbc:tc and jdbc:tc URLs
Open
Nobody has claimed this yet.
modules/jdbc
modules/r2dbc
resolution/acknowledged
type/feature
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
Could you please enable container reusage across r2dbc and jdbc urls?
Use case (in Spring Boot):
spring:
r2dbc:
url: r2dbc:tc:postgresql:///test?TC_IMAGE_TAG=12-alpine
flyway:
url: jdbc:tc:postgresql:12-alpine:///test
https://github.com/testcontainers/testcontainers-java/issues/4282
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 with the r2dbc:tc and jdbc:tc URL formats shown in the Spring Boot example, and trace how each URL identifies and creates its PostgreSQL container. Done means the two URLs reuse one container for the same database configuration, while the linked Testcontainers, Spring Boot, and Flyway issues provide compatibility context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- databases, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100