james94 commented on PR #7003:
URL: https://github.com/apache/nifi/pull/7003#issuecomment-1671652994

   Two python processors from NiFi 2.0 Snapshot that didnt work when I added 
them to the start of my data flow was the following:
   
   **GenerateRecord.py**
   **WriteNumber.py**
   
   I started with these two python processors above because I wanted to create 
a custom python processor **GetNFBSNiFTiFiles** that gathered a list of MRI 
filepaths for my NFBS Skull-Stripped Repository dataset. I found for my custom 
python processor and the ones above, if I sent some data to them using an 
earlier processor like **GenerateFlowFile**, even if I wasnt using the data 
from that initial processor, then my new processor and the two above would 
create the data I wanted.
   
   For Python based Processors inheriting from "FlowFileTransform", if we want 
to use it to get or generate data, I found I couldnt run **transform()** method 
without using a prior processor that sends data to my python processor. I 
figured "FlowFileTransform" python processors would mainly be used for 
different data processing, but not for data generation. Will there be python 
processors that inherit from another class similar to Java Processor's GetFile, 
GenerateFlowFile? Does NiFi 2.0 snapshot's python processors currently support 
creating new python processors for generating new data?
   
   Thanks. @taz1988 
   
   


-- 
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]

Reply via email to