[
https://issues.apache.org/jira/browse/NIFI-5875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16715948#comment-16715948
]
ASF subversion and git services commented on NIFI-5875:
-------------------------------------------------------
Commit 1a937b65111173d77255984f9856bbc63f2c22f0 in nifi's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=1a937b6 ]
NIFI-5875 Improve docs around the PriorityAttributePrioritizer
Clear up the documentation around the PriorityAttributePrioritizer to make it
clearer that if the attributes are both number the largest wins but if they are
not numbers they sort the other way around.
I had to go and look at the code to work out what was going on after reading
the existing documentation.
Simplify PriorityAttributePrioritzer docs
Simplify the main section of documentation for PriorityAttributePrioritzer and
then add a notes section with more details about the ordering.
Fix example.
Put back comment setting the priority attribute
Further improvements to the Priority ordering
This closes #3205.
Signed-off-by: Koji Kawamura <[email protected]>
> PriorityAttributePrioritizer documentation is not clear.
> --------------------------------------------------------
>
> Key: NIFI-5875
> URL: https://issues.apache.org/jira/browse/NIFI-5875
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Documentation & Website
> Reporter: Wil Selwood
> Assignee: Wil Selwood
> Priority: Major
>
> The documentation for the PriorityAttributePrioritizer is not particularly
> clear. The First part says highest goes first but then the example at the end
> says that 1 would go before 9. This could be clearer.
> I've just had to go look up the code to figure out what it was doing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)