[ 
https://issues.apache.org/jira/browse/MINIFICPP-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258240#comment-16258240
 ] 

Dustin Rodrigues commented on MINIFICPP-314:
--------------------------------------------

Looks to be a general issue of Minifi properties. 
https://issues.apache.org/jira/browse/MINIFICPP-315 fixes it.

> 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)

Reply via email to