You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2019/04/09 12:42:00 UTC
[jira] [Created] (BEAM-7041) JdbcIO should not wrap the provided
datasource if it's already a pollable one
Jean-Baptiste Onofré created BEAM-7041:
------------------------------------------
Summary: JdbcIO should not wrap the provided datasource if it's already a pollable one
Key: BEAM-7041
URL: https://issues.apache.org/jira/browse/BEAM-7041
Project: Beam
Issue Type: Improvement
Components: io-java-jdbc
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Currently, {{JdbcIO}} systematically wrap the provided {{DataSource}} as a DBCP Poolable DataSource (in the {{JdbcIO#buildDataSource()}}).
If the user provided DataSource is already a pollable datasource, it doesn't leverage the actual pool. The user should "control" if he wants a wrapped pollable datasource or directly the one he provides.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)