Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/3205
  
    @wselwood Thanks for the update, looks much better! For the even better 
readability, can we improve structure a little bit more organized? How about 
something like this?
    
    Example output:
    
    
![image](https://user-images.githubusercontent.com/1107620/49714327-caef3f80-fc8f-11e8-9a6d-349511685aad.png)
    
    ---
    (As plain text)
    PriorityAttributePrioritizer: Given two FlowFiles that both have a 
"priority" attribute, the one that has the highest priority value will be 
processed first.
    
    - Note that an UpdateAttribute processor should be used to add the 
"priority" attribute to the FlowFiles before they reach a connection that has 
this prioritizer set.
    - If only one has that attribute it will go first.
    - Values for the "priority" attribute may be alphanumeric, where "a" is a 
higher priority than "z", and "1" is a higher priority than "9", for example.
    - If "priority" attribute cannot be parsed as a long, unicode string 
ordering will be used. For example: "99" and "100" will be ordered so the 
flowfile with "99" comes first, but "A-99" and "A-100" will sort so the 
flowfile with "A-100" comes first.



---

Reply via email to