joewitt commented on code in PR #9617:
URL: https://github.com/apache/nifi/pull/9617#discussion_r1909282086
##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GenerateFlowFile.java:
##########
@@ -71,12 +71,36 @@ public class GenerateFlowFile extends AbstractProcessor {
public static final String DATA_FORMAT_BINARY = "Binary";
public static final String DATA_FORMAT_TEXT = "Text";
+ public static final PropertyDescriptor VARIABLE_SIZE = new
PropertyDescriptor.Builder()
+ .name("Variable File Size")
+ .description("The size of the FlowFile will be randomized between
a minimum and maximum size value. 'Unique FlowFiles' must be set to true in
order to achieve varying sizes.")
+ .required(true)
Review Comment:
why make all these required?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]