fgerlits commented on code in PR #1483:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1483#discussion_r1135686813


##########
PROCESSORS.md:
##########
@@ -589,91 +688,97 @@ In the list below, the names of required properties 
appear in bold. Any other pr
 
 ### Description
 
-Executes a script given the flow file and a process session. The script is 
responsible for handling the incoming flow file (transfer to SUCCESS or remove, 
e.g.) as well as any flow files created by the script. If the handling is 
incomplete or incorrect, the session will be rolled back. Scripts must define 
an onTrigger function which accepts NiFi Context and Property objects. For 
efficiency, scripts are executed once when the processor is run, then the 
onTrigger method is called for each incoming flowfile. This enables scripts to 
keep state if they wish, although there will be a script context per concurrent 
task of the processor. In order to, e.g., compute an arithmetic sum based on 
incoming flow file information, set the concurrent tasks to 1. The python 
script files are expected to contain `describe(procesor)` and 
`onTrigger(context, session)`.
+Executes a script given the flow file and a process session. The script is 
responsible for handling the incoming flow file (transfer to SUCCESS or remove, 
e.g.) as well as any flow files created by the script. If the handling is 
incomplete or incorrect, the session will be rolled back.Scripts must define an 
onTrigger function which accepts NiFi Context and Property objects. For 
efficiency, scripts are executed once when the processor is run, then the 
onTrigger method is called for each incoming flowfile. This enables scripts to 
keep state if they wish, although there will be a script context per concurrent 
task of the processor. In order to, e.g., compute an arithmetic sum based on 
incoming flow file information, set the concurrent tasks to 1.

Review Comment:
   fixed in dbd1c1a31b42d364b9e46f8f8b961b747b02f6c1



-- 
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: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to