You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/24 14:24:00 UTC

[jira] [Commented] (NIFI-11337) PutDatabaseRecord docs don't reflect actual behavior and Max Batch Size shouldn't be a dependent property

    [ https://issues.apache.org/jira/browse/NIFI-11337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704623#comment-17704623 ] 

ASF subversion and git services commented on NIFI-11337:
--------------------------------------------------------

Commit 1a9acb1f4b8d14966c39cb39ecbdebb6f6cc57a5 in nifi's branch refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1a9acb1f4b ]

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



> 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
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 1.latest, 2.latest
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)