You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2018/01/05 20:10:00 UTC
[jira] [Updated] (NIFI-4742) CaptureChangeMySQL memory/thread leak
when enrichment connection cannot be made
[ https://issues.apache.org/jira/browse/NIFI-4742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-4742:
-------------------------------
Status: Patch Available (was: In Progress)
> CaptureChangeMySQL memory/thread leak when enrichment connection cannot be made
> -------------------------------------------------------------------------------
>
> Key: NIFI-4742
> URL: https://issues.apache.org/jira/browse/NIFI-4742
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
>
> CaptureChangeMySQL, in addition to making a connection to read the binary logs, will try to make a JDBC connection to the database in order to enrich the CDC events with information not in the binary logs themselves, such as column names/types.
> However if an error occurs during set up of the JDBC connection (such as a missing driver, bad class name, etc.), the binary log connection (including keepalive thread) is not being cleaned up, and upon retry will create new threads, etc.
> If the JDBC connection cannot be set up successfully, all resources should be released and/or cleaned up for a fresh retry.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)