Matt Burgess created NIFI-11337:
-----------------------------------

             Summary: PutDatabaseRecord docs don't reflect actual behavior and 
Max Batch Size shouldn't be a dependent property
                 Key: NIFI-11337
                 URL: https://issues.apache.org/jira/browse/NIFI-11337
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Matt Burgess


The current documentation for PutDatabaseRecord's Maximum Batch Size property 
says: "Specifies maximum batch size for INSERT and UPDATE statements. This 
parameter has no effect for other statements specified in 'Statement Type'. 
Zero means the batch size is not limited." This is not accurate as the Maximum 
Batch Size is used for all batches regardless of statement type. This also 
makes this property not dependent so that should be removed as well as the 
documentation updated to reflect the the behavior. The default value of Maximum 
Batch size should also be changed from 0 to something like 1000 to avoid 
possible memory usage issues for large numbers of incoming records.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to