You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/10/19 01:45:05 UTC

[jira] [Assigned] (NIFI-1016) Use centralized priority attribute name in PriorityAttributePrioritizer

     [ https://issues.apache.org/jira/browse/NIFI-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Witt reassigned NIFI-1016:
---------------------------------

    Assignee: Joseph Witt

> Use centralized priority attribute name in PriorityAttributePrioritizer
> -----------------------------------------------------------------------
>
>                 Key: NIFI-1016
>                 URL: https://issues.apache.org/jira/browse/NIFI-1016
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Joe Mészáros
>            Assignee: Joseph Witt
>            Priority: Minor
>             Fix For: 0.4.0
>
>
> There is a special enum, {{CoreAttributes}}, containing the core attribute names of a flow file, like {{uuid}},{{path}} and {{priority}}. This enum is used by tons of other Java classes, and this issue suggests to use {{CoreAttributes.PRIORITY}} in {{PriorityAttributePrioritizer}}, instead of a local static String to avoid duplicates and possible misconceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)