Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5790

DBCPConnectionPool configuration should expose underlying connection idle and eviction configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • Extensions

    Description

      While investigating a fix for NIFI-5789, I noticed in the DBCPConnectionPool documentation that NiFi appears not to have controller service configuration options associated with Apache Commons-DBCP BasicDataSource parameters like minIdle and maxIdle, which I think should be both set to 0 in my particular use case.

      Alternatively, I think I could set maxConnLifetimeMillis to something even in the minutes range and satisfy my use case (a connection need not be released immediately but within a reasonable period of time), but this option is also not available.

      Attachments

        Issue Links

          Activity

            People

              colindean Colin Dean
              colindean Colin Dean
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 10m
                  1h 10m