lordgamez commented on code in PR #1972:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1972#discussion_r2139599639


##########
extensions/standard-processors/processors/TailFile.h:
##########
@@ -184,11 +199,17 @@ class TailFile : public core::ProcessorImpl {
       .withAllowedTypes<minifi::controllers::AttributeProviderService>()
       .build();
   EXTENSIONAPI static constexpr auto BatchSize = 
core::PropertyDefinitionBuilder<>::createProperty("Batch Size")
-      .withDescription("Maximum number of flowfiles emitted in a single 
trigger. If set to 0 all new content will be processed.")
+      .withDescription("Maximum number of lines emitted in a single trigger. 
If set to 0 all new content will be processed.")
       .isRequired(true)
       
.withValidator(core::StandardPropertyValidators::UNSIGNED_INTEGER_VALIDATOR)
       .withDefaultValue("0")
       .build();
+  EXTENSIONAPI static constexpr auto ResultFormat = 
core::PropertyDefinitionBuilder<magic_enum::enum_count<TailResultFormat>()>::createProperty("Result
 Mode")
+      .withDescription("Specifies how the result lines are arranged into 
output flow files")
+      .isRequired(true)
+      
.withDefaultValue(magic_enum::enum_name(TailResultFormat::FlowFilePerDelimiter))
+      .withAllowedValues(magic_enum::enum_names<TailResultFormat>())
+      .build();

Review Comment:
   PROCESSORS.md should be updated with these changes



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

Reply via email to