Koji Kawamura created NIFI-6793: ----------------------------------- Summary: CaptureChangeMySQL throws NumberFormatException when sequence id exceeds maximum Integer Key: NIFI-6793 URL: https://issues.apache.org/jira/browse/NIFI-6793 Project: Apache NiFi Issue Type: Bug Components: Extensions Reporter: Koji Kawamura Assignee: Koji Kawamura
NumberFormatException can be thrown because the internal sequence id is parsed as an integer where it should be a long. https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-cdc/nifi-cdc-mysql-bundle/nifi-cdc-mysql-processors/src/main/java/org/apache/nifi/cdc/mysql/processors/CaptureChangeMySQL.java#L492 {code} 2019-10-14 04:45:54,727 WARN [Timer-Driven Process Thread-15] o.a.n.controller.tasks.ConnectableTask Administratively Yielding CaptureChangeMySQL[id=719232e6-2e6e-1d73-82b8-4f59a42c5e52] due to uncaught Exception: java.lang.NumberFormatException: For input string: "2291535530" java.lang.NumberFormatException: For input string: "2291535530" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:583) at java.lang.Integer.parseInt(Integer.java:615) at org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL.setup(CaptureChangeMySQL.java:492) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)