markap14 commented on a change in pull request #3559: NIFI-1624 Allow 
ExtractText processor to fail if max. capture group l…
URL: https://github.com/apache/nifi/pull/3559#discussion_r314053698
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ExtractText.java
 ##########
 @@ -107,12 +118,26 @@
 
     public static final PropertyDescriptor MAX_CAPTURE_GROUP_LENGTH = new 
PropertyDescriptor.Builder()
             .name("Maximum Capture Group Length")
-            .description("Specifies the maximum number of characters a given 
capture group value can have.  Any characters beyond the max will be 
truncated.")
+            .description("Specifies the maximum number of characters a given 
capture group value can have.  "
+                    + "If characters beyond that limit are present, they will 
be either be truncated or the processor will fail, "
 
 Review comment:
   It may be better to simply state that the behavior will be determined by the 
"Capture Group Length Excess Policy" property, so that if any new option were 
ever to be added, this documentation would stay up to date.

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


With regards,
Apache Git Services

Reply via email to