exceptionfactory commented on PR #9000: URL: https://github.com/apache/nifi/pull/9000#issuecomment-2194611673
> Hey @pgyori 👋 Just out of curiosity - have you thought about offering a version of the `FlowFileSourceProxy` for processors that are **not** safe for concurrent execution? > > Currently there is no way of setting annotations such as `@TriggerSerially `from the Python side - most regular processors are fine with 'Concurrent Tasks' > 1 but I have several source processors I would like to develop where running multiple concurrent tasks would be rather ... problematic 😇 Thanks for raising this question @henrikjohansen. This is probably worth considering in a discussion in Jira, where it would be helpful to outline the type of Processor to be developed. It is worth noting that a large number of the `List` Processors in Java have the `TriggerSerially` annotation, so it might even make sense to make that the standard behavior. However, I think this can be considered as a follow-on effort, as the implications may be a bit different given the relationship between Java Threads and Python processes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
