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

MergeRecord doesn't honor "Max Bin Age" property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.8.0
    • None
    • Extensions
    • None
    • Both Ubuntu and Windows 10

    Description

      MergeRecord ignores "Max Bin Age" property and does not merge records at all.

      Only NiFi 1.8.0 is affected.  

      The attached test case should generate 2 types of CSV files:

      column1;column2
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      A1;B1
      ...and so on for many rows...

       and

      column1;column2
      A2;B2
      A2;B2
      A2;B2
      A2;B2
      A2;B2
      A2;B2
      A2;B2
      A2;B2
      A2;B2
      ...and so on for many rows...

      It works as expected for NiFi 1.6.0 and 1.7.1.

      But using NiFi 1.8.0 I only get hundreds of files with just 1 record like the following:

      column1;column2
      A1;B1
      

       and

      column1;column2
      A2;B2
      

      Attachments

        1. Test_MergeRecord_max-bin-age.xml
          55 kB
          Davide Sessi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              d.sessi@almaviva.it Davide Sessi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: