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

AttributesToJSON filters out core attributes specified in attributes list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.16.0
    • None
    • None

    Description

      Currently "Include Core Attributes" property filters out any core attributes specified in the "Attributes List" property, but does not filter any attributes matching the regular expression in the "Attributes Regular Expression" property. This makes the functionality of the processor inconsistent.

      According to markap14 "Include Core Attributes should dictate whether or not to add the attribute by default. If set to false but a regex matches the attribute or it is in the list of attributes, it should be included."

      To reach this desired functionality the attributes specified by the "Attributes List" property should not be filtered when the "Include Core Attributes" property is set to false.

       

      Attachments

        Issue Links

          Activity

            People

              lordgamez Gábor Gyimesi
              lordgamez Gábor Gyimesi
              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 - 2h
                  2h