[ https://issues.apache.org/jira/browse/MINIFICPP-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258220#comment-16258220 ]
Dustin Rodrigues commented on MINIFICPP-314: -------------------------------------------- It looks like it does parse the value: https://github.com/apache/nifi-minifi-cpp/blob/master/libminifi/src/processors/GenerateFlowFile.cpp#L69 > GenerateFlowFiles 'File Size' default value is misleading > --------------------------------------------------------- > > Key: MINIFICPP-314 > URL: https://issues.apache.org/jira/browse/MINIFICPP-314 > Project: NiFi MiNiFi C++ > Issue Type: Bug > Reporter: Andrew Christianson > Priority: Trivial > > The default value is '1 kb,' which we don't actually parse: > {code} > core::Property GenerateFlowFile::FileSize("File Size", "The size of the file > that will be used", "1 kB"); > {code} > We need to either: > 1) Parse size strings e.g. '1 b' '1 kb' '5 MiB' > OR > 2) Drop the kb from the default value, and note in the description that the > unit is bytes > Option 2 would be a lot simpler. -- This message was sent by Atlassian JIRA (v6.4.14#64029)