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

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

Github user phrocker commented on the issue:

    https://github.com/apache/nifi/pull/1618
  
    @mattyb149 I began with an empty password for my user and thus set an empty 
string. I saw an NPE in the logs, which did go away once I set a password for 
my user and subsequently set it in processor config. 
    
    
     2017-03-24 18:19:53,150 ERROR [blc-localhost:3306] org.apache.nifi.NiFi An 
Unknown Error Occurred in Thread Thread[blc-localhost:3306,5,main]: 
java.lang.NullPointerException
    2017-03-24 18:19:53,155 ERROR [blc-localhost:3306] org.apache.nifi.NiFi 
    java.lang.NullPointerException: null
      at 
com.github.shyiko.mysql.binlog.network.protocol.command.AuthenticateCommand.passwordCompatibleWithMySQL411(AuthenticateCommand.java:89)
 ~[mysql-binlog-connector-java-0.8.1.jar:na]
      at 
com.github.shyiko.mysql.binlog.network.protocol.command.AuthenticateCommand.toByteArray(AuthenticateCommand.java:70)
 ~[mysql-binlog-connector-java-0.8.1.jar:na]
      at 
com.github.shyiko.mysql.binlog.network.protocol.PacketChannel.write(PacketChannel.java:65)
 ~[mysql-binlog-connector-java-0.8.1.jar:na]
      at 
com.github.shyiko.mysql.binlog.BinaryLogClient.authenticate(BinaryLogClient.java:546)
 ~[mysql-binlog-connector-java-0.8.1.jar:na]
      at 
com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:407)
 ~[mysql-binlog-connector-java-0.8.1.jar:na]
      at 
com.github.shyiko.mysql.binlog.BinaryLogClient$5.run(BinaryLogClient.java:635) 
~[mysql-binlog-connector-java-0.8.1.jar:na]
      at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_121]


> Implement a GetChangeDataCapture processor
> ------------------------------------------
>
>                 Key: NIFI-3413
>                 URL: https://issues.apache.org/jira/browse/NIFI-3413
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>
> Database systems such as MySQL, Oracle, and SQL Server allow access to their 
> transactional logs and such, in order for external clients to have a "change 
> data capture" (CDC) capability. I propose a GetChangeDataCapture processor to 
> enable this in NiFi.
> The processor would be configured with a DBCPConnectionPool controller 
> service, as well as a Database Type property (similar to the one in 
> QueryDatabaseTable) for database-specific handling. Additional properties 
> might include the CDC table name, etc.  Additional database-specific 
> properties could be handled using dynamic properties (and the documentation 
> should reflect this).
> The processor would accept no incoming connections (it is a "Get" or source 
> processor), would be intended to run on the primary node only as a single 
> threaded processor, and would generate a flow file for each operation 
> (INSERT, UPDATE, DELETE, e,g,) in one or some number of formats (JSON, e.g.). 
> The flow files would be transferred in time order (to enable a replication 
> solution, for example), perhaps with some auto-incrementing attribute to also 
> indicate order if need be.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to