Member since
05-08-2024
9
Posts
4
Kudos Received
0
Solutions
05-28-2024
05:51 AM
Apparently in the github repo, there's a folder for processor example of base level, though it might not cover everything yet, might be a good place to solve basic issues. I had issues building a custom relationship as well, then I saw this example, which helped. Official Python Processor Examples
... View more
05-28-2024
05:44 AM
1 Kudo
Even with the M3 release, no updates were made for this one either. Two of the custom processors I'm trying to implement relies on this very thing. Really hope it'll be brought to attention and available in M4 release.
... View more
05-24-2024
11:29 PM
1 Kudo
Aha, thank you for the information about attributes in custom relationship. I think the bug exists in Java side, because failure relationship is created automatically, unlike success, which is based on a code section in Python side. Also, I went through NiFi Jira, and if searched properly, this bug isn't even mentioned yet. Also, regarding the venv issue, I guess it's a windows related issue, what I've been doing from start is using container-based setup, so can't relate, but sounds like a hassle. Lastly, yeah it's sad, but I guess not too many people testing it out yet, maybe waiting for stable release to be made first.
... View more
05-24-2024
01:24 PM
Seems like even in the M3 release this hasn't been fixed yet. Doesn't seem to work in custom relationships either with name other than `success`
... View more
05-20-2024
04:11 PM
2 Kudos
Ah I found it. In M1 guide it's mentioned python 3.9+, M2 guide it's mentioned 3.9 to 3.11 and 3.12 is not yet supported and finally in M3 guide 3.12 is supported as well. I'm just adding direct link of M3 guide for where it's mentioned below NiFi Python Developer’s Guide (apache.org)
... View more
05-20-2024
05:52 AM
I read somewhere that for now python version from 3.9 to 3.11 are supported. A version below or above causes error.
... View more
05-20-2024
05:48 AM
Hi @SAMSAL This might not be mentioned, but for each released version, a different/modified guide is available, I was playing around with the guide URL, and discovered that. In the M3 guide, you'll find that process of creating a python processor nar file is mentioned. I'll add the guide URLS below NiFi 2.0.0-M1 NiFi 2.0.0-M2 NiFi 2.0.0-M3 Btw, the videos mentioned, is it published in an yt channel? Can get the link to that if possible?
... View more
05-09-2024
06:35 AM
I want to achieve something similar, to produce multiple flowfiles based on sheets in an excel file, but I also further want to separate one flowfiles data based on type of the data. For example in an array of JSON it can have a key 'type' and based on its value, I want to divide one flowfiles into type based multiple flowfiles.
... View more
05-08-2024
08:44 AM
@SAMSAL were you able to figure this out somehow?
... View more