Github user joewitt commented on the pull request:

    https://github.com/apache/incubator-nifi/pull/51#issuecomment-116310453
  
    > Good point. Maybe we can keep a thread-local cache of the sessions and 
pass an accessor to the channel instead? Then we would be able to keep parallel 
execution.
    
    You'll want to find a mechanism other than thread local.  There basically 
zero guarantees on which thread you will get between 'onTrigger' calls.  Now if 
the processor takes a thread and doesn't return it to the controller you can 
but that is pretty naughty.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to