[ 
https://issues.apache.org/jira/browse/NIFI-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235364#comment-16235364
 ] 

ASF GitHub Bot commented on NIFI-4490:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/nifi/pull/2244


> Repetitive events detected on changing the incorrect driver name in 
> CaptureChangeMySQL
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-4490
>                 URL: https://issues.apache.org/jira/browse/NIFI-4490
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Matt Burgess
>            Assignee: Koji Kawamura
>            Priority: Major
>
> Followed the below steps
> 1. In CaptureChangeMySQL, set the driver name to "com.mysql.some.driver"
> 2. Create a table in the test database and start the CaptureChangeMySQL 
> processor
> 3. "Error creating binlog enrichment JDBC connection" error message is thrown 
> which is correct.
> This completes the first test. Next do the following
> 1. Correct the driver name
> 2. Reset the binlog events by running "RESET MASTER"
> 3. Clear the state of the CaptureChangeMySQL processor.
> 4. Start the CaptureChangeMySQL processor.
> Result : The Create statement which was triggered when the driver was invalid 
> is detected thrice in the tests that I carried out by CaptureChangeMySQL 
> processor
> Expected : The event should not have been detected at all since the binlogs 
> have been deleted, state reset and the database pattern hardcoded to a single 
> db



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to