nifi/nifi-nar-bundles/nifi-evtx-bundle
Ferenc Szabó 48a6c81fa2 NIFI-4735: ParseEVTX only outputs one event per chunk
This change is based on https://github.com/apache/nifi/pull/2489

I have reproduced the issue with some additional test cases and test files then applied the original fix.

commit message from the original change:
Updated the EVTX FileHeader class to correctly check if there are more chunks in the file. Previously this would not process the last chunk.

Updated the EVTX ChunkHeader class to correctly check if there are additional records in the chunk. Previously this would only process the first record of each chunk. It was using the fileLastRecordNumber where it should have been using the logLastRecordNumber value.

Updated the EVTX unit tests to have the correct expected number of events and use the logLastRecordNumber.

refactoring duplicated code and magic numbers

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2489
This closes #3379
2019-03-20 14:12:03 -04:00
..
nifi-evtx-nar NIFI-6029 merging nifi 1.9.0 release into master 2019-02-19 22:55:49 -05:00
nifi-evtx-processors NIFI-4735: ParseEVTX only outputs one event per chunk 2019-03-20 14:12:03 -04:00
pom.xml NIFI-6029-RC2 prepare for next development iteration 2019-02-16 21:50:35 -05:00