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

Implement a DBCPConnectionPool that dynamically selects a connection pool

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      In NIFI-5121 we modified the DBCPConnectionPool interface to allow passing a map of attributes (https://issues.apache.org/jira/browse/NIFI-5121).

      We should implement a DBCPConnectionPool that lets you register multiple other connection pools via dynamic properties, and then selects one based on looking for an incoming attribute.

      For example, lets say you create two regular connection pools A and B, then in the new connection pool you would register:

      a = pool1

      b = pool2

      and then the new connection pool will look in the attribute map for an attribute like "database.id" and select the pool with the given id.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bende Bryan Bende
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: