Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11337

PutDatabaseRecord docs don't reflect actual behavior and Max Batch Size shouldn't be a dependent property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.21.0
    • Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h