nifi/nifi-commons/nifi-schema-utils
Joe Skora 376af83a3d NIFI-3055 StandardRecordWriter Can Throw UTFDataFormatException
* Updated StandardRecordWriter, even though it is now deprecated to consider the encoding behavior of java.io.DataOutputStream.writeUTF() and truncate string values such that the UTF representation will not be longer than that DataOutputStream's 64K UTF format limit.
* Updated the new SchemaRecordWriter class to similarly truncate long Strings that will be written as UTF.
* Add tests to confirm handling of large UTF strings and various edge conditions of UTF string handling.

Signed-off-by: Mike Moser <mosermw@apache.org>

This closes #1469.
2017-02-03 20:52:32 +00:00
..
src NIFI-3055 StandardRecordWriter Can Throw UTFDataFormatException 2017-02-03 20:52:32 +00:00
pom.xml NIFI-3055 StandardRecordWriter Can Throw UTFDataFormatException 2017-02-03 20:52:32 +00:00