[ 
https://issues.apache.org/jira/browse/MINIFICPP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2292:
-------------------------------------
    Description: 
When calling the onTrigger function in a python processor it is done through 
python C API binding. This is basically a C function call which cannot be 
interrupted at the moment. We should find a way to implement the notifystop 
function in the ExecutePythonProcessor processor to be able to interrupt the 
running onTrigger call of the python processor if we want to.

NiFi Python processors also support onStopped function in processors which 
should also be investigated how to be implemented.

  was:When calling the onTrigger function in a python processor it is done 
through python C API binding. This is basically a C function call which cannot 
be interrupted at the moment. We should find a way to implement the notifystop 
function in the ExecutePythonProcessor processor to be able to interrupt the 
running onTrigger call of the python processor if we want to.


> Support notifystop in python processors
> ---------------------------------------
>
>                 Key: MINIFICPP-2292
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2292
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Gábor Gyimesi
>            Priority: Major
>
> When calling the onTrigger function in a python processor it is done through 
> python C API binding. This is basically a C function call which cannot be 
> interrupted at the moment. We should find a way to implement the notifystop 
> function in the ExecutePythonProcessor processor to be able to interrupt the 
> running onTrigger call of the python processor if we want to.
> NiFi Python processors also support onStopped function in processors which 
> should also be investigated how to be implemented.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to