[
https://issues.apache.org/jira/browse/MINIFICPP-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Christianson resolved MINIFICPP-314.
-------------------------------------------
Resolution: Fixed
> 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)