Gábor Gyimesi created NIFI-9058:
-----------------------------------

             Summary: AttributesToJSON filters out core attributes specified in 
attributes list 
                 Key: NIFI-9058
                 URL: https://issues.apache.org/jira/browse/NIFI-9058
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Gábor Gyimesi
            Assignee: Gábor Gyimesi


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.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to