Github user alopresto commented on the issue:

    https://github.com/apache/nifi/pull/2983
  
    Those attributes were added by @ottobackwards in the original PR for this 
issue. My understanding of the scenarios is as follows:
    
    **Flowfile A**
    *username*: `alopresto`
    *email*: `[email protected]`
    
    **Flowfile B**
    *username*: `alopresto`
    
    **Flowfile C**
    *no attributes*
    
    ### Processor Configuration 1 (Allow partial):
    
    **Fail when no attributes present**: `true`
    **Missing attribute policy**: `Allow missing attributes`
    
    **Flowfile A** -> *success*
    **Flowfile B** -> *success*
    **Flowfile C** -> *failure*
    
    ### Processor Configuration 2 (Fail on partial):
    
    **Fail when no attributes present**: `true`
    **Missing attribute policy**: `Fail if missing attributes`
    
    **Flowfile A** -> *success*
    **Flowfile B** -> *failure*
    **Flowfile C** -> *failure*
    
    ### Processor Configuration 3 (Allow empty):
    
    **Fail when no attributes present**: `false`
    **Missing attribute policy**: `Allow missing attributes`
    
    **Flowfile A** -> *success*
    **Flowfile B** -> *success*
    **Flowfile C** -> *success*
    
    ### Processor Configuration 4 (Allow empty but fail partial):
    
    **Fail when no attributes present**: `false`
    **Missing attribute policy**: `Fail if missing attributes`
    
    **Flowfile A** -> *success*
    **Flowfile B** -> *failure*
    **Flowfile C** -> *success*


---

Reply via email to