NIFI-11337: Update PutDatabaseRecord's Max Batch Size property documentation to reflect actual behavior (#7081)

This commit is contained in:
Matt Burgess 2023-03-24 10:22:56 -04:00 committed by GitHub
parent 2698000a85
commit 1a9acb1f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -337,13 +337,12 @@ public class PutDatabaseRecord extends AbstractProcessor {
static final PropertyDescriptor MAX_BATCH_SIZE = new Builder()
.name("put-db-record-max-batch-size")
.displayName("Maximum Batch Size")
.description("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.")
.defaultValue("0")
.description("Specifies maximum number of statements to be included in each batch. Zero means the batch size is not limited, "
+ "which can cause memory usage issues for a large number of statements.")
.defaultValue("1000")
.required(false)
.addValidator(StandardValidators.NON_NEGATIVE_INTEGER_VALIDATOR)
.expressionLanguageSupported(FLOWFILE_ATTRIBUTES)
.dependsOn(STATEMENT_TYPE, INSERT_TYPE, UPDATE_TYPE, USE_ATTR_TYPE, USE_RECORD_PATH)
.build();
static final PropertyDescriptor DB_TYPE;