mirror of https://github.com/apache/nifi.git
NIFI-11337: Update PutDatabaseRecord's Max Batch Size property documentation to reflect actual behavior (#7081)
This commit is contained in:
parent
2698000a85
commit
1a9acb1f4b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue