- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Can we reuse a DB connection in Nifi?
- Labels:
-
Apache NiFi
Created ‎05-17-2017 08:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way for Nifi to keep a DB connection open as it processes different incoming flowfiles? Or will the processor ExecuteSQL processor open/close the connection with every flowfile it processes?
Created ‎05-17-2017 08:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You mean other than using DBCPConnectionPool service? I think connection pooling is used to reuse the connection but connection is closed and returned to the pool.
Created ‎05-17-2017 08:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You mean other than using DBCPConnectionPool service? I think connection pooling is used to reuse the connection but connection is closed and returned to the pool.
Created ‎05-17-2017 08:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @mqureshi . I didn't realize ExecuteSQL used a connection pool.
