NIFI-6793 Fix NumberFormatException at CaptureChangeMySQL

This closes #3827

Signed-off-by: Mike Thomsen <mthomsen@apache.org>
This commit is contained in:
Koji Kawamura 2019-10-20 18:41:05 +09:00 committed by Mike Thomsen
parent 8079d2531e
commit 87838e6c31
No known key found for this signature in database
GPG Key ID: 88511C3D4CAD246F
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ public class CaptureChangeMySQL extends AbstractSessionFactoryProcessor {
currentSequenceId.set(seqIdProp.evaluateAttributeExpressions().asInteger());
}
} else {
currentSequenceId.set(Integer.parseInt(seqIdString));
currentSequenceId.set(Long.parseLong(seqIdString));
}
// Get reference to Distributed Cache if one exists. If it does not, no enrichment (resolution of column names, e.g.) will be performed