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

Andrew Christianson commented on MINIFICPP-314:
-----------------------------------------------

[~drodrigues] Ah, you're right. It wasn't working in my tests with "1 b" or "1 
B" for individual bytes. I think we don't support bytes. We can consider 
opening a ticket to support bytes if necessary.

> 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