[ 
https://issues.apache.org/jira/browse/MINIFICPP-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated MINIFICPP-314:
-------------------------------------
    Fix Version/s: 0.4.0

> GenerateFlowFiles 'File Size' default value is misleading
> ---------------------------------------------------------
>
>                 Key: MINIFICPP-314
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-314
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Andrew Christianson
>            Priority: Trivial
>             Fix For: 0.4.0
>
>
> 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
(v8.3.4#803005)

Reply via email to