Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7041

JdbcIO should not wrap the provided datasource if it's already a pollable one

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.13.0
    • io-java-jdbc
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h