Deprecate PoolableDataSourceProvider from JdbcIO
Open
improvement
io
java
jdbc
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
`PoolableDataSourceProvider` was introduced as a facility to create a `PoolableDataSource` from a `ConnectionConfiguration` in JdbcIO.
However the current implementation default parameters cannot cover all cases, and tweaking the right parameters of the pool is not trivial without exposing too many knobs in the API, so given that we have a generic way to do this via `withDataSourceProviderFn` we could deprecate and remove this in the future, and probably add its use as an example.
Imported from Jira [BEAM-7338](https://issues.apache.org/jira/browse/BEAM-7338). Original Jira may contain additional context.
Reported by: iemejia.
Contributor guide
Assessment
This issue has not been assessed yet.