lordgamez commented on a change in pull request #1054:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1054#discussion_r619044246



##########
File path: extensions/standard-processors/processors/GenerateFlowFile.cpp
##########
@@ -61,6 +62,13 @@ core::Property GenerateFlowFile::UniqueFlowFiles(
     core::PropertyBuilder::createProperty("Unique 
FlowFiles")->withDescription("If true, each FlowFile that is generated will be 
unique. If false, a random value will be generated and all FlowFiles")
         ->isRequired(false)->withDefaultValue<bool>(true)->build());
 
+core::Property GenerateFlowFile::CustomText(
+    core::PropertyBuilder::createProperty("Custom Text")
+      ->withDescription("If Data Format is text and if Unique FlowFiles is 
false, then this custom text will be used as content of the generated FlowFiles 
and the File Size will be ignored. "
+                        "Finally, if Expression Language is used, evaluation 
will be performed only once per batch of generated FlowFiles")
+      ->supportsExpressionLanguage(true)

Review comment:
       Added warning and test in 8b3702dd930f7b38cc744e3e1917b6c7380816b8




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to