apache / apache/beam

Deprecate PoolableDataSourceProvider from JdbcIO

Open
#19,393 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.