Github user MikeThomsen commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2448#discussion_r172216534
  
    --- Diff: 
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/GetMongo.java
 ---
    @@ -121,34 +136,53 @@
                 .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR)
                 .build();
     
    -    static final PropertyDescriptor BATCH_SIZE = new 
PropertyDescriptor.Builder()
    -            .name("Batch Size")
    -            .description("The number of elements returned from the server 
in one batch")
    +    static final PropertyDescriptor FETCH_SIZE = new 
PropertyDescriptor.Builder()
    +            .name("Fetch Size")
    --- End diff --
    
    I missed that it was `name` and not `displayName`.
    
    Maybe what should be done here is to revert that change, and then have the 
commits happen either after reach flowfile (when grouped into big flowfiles) or 
after each batch as defined in that property for the 1:1 result/flowfile option.


---

Reply via email to