Member since
07-18-2024
6
Posts
8
Kudos Received
0
Solutions
07-27-2024
05:32 AM
1 Kudo
can you give me your email?
... View more
07-27-2024
05:30 AM
1 Kudo
i used this code for testing from nifiapi.flowfiletransform import FlowFileTransform, FlowFileTransformResult
class WriteHelloWorld(FlowFileTransform):
class Java:
implements = ['org.apache.nifi.python.processor.FlowFileTransform']
class ProcessorDetails:
version = '0.0.1-SNAPSHOT'
def __init__(self, **kwargs):
super().__init__(**kwargs)
def transform(self, context, flowfile):
return FlowFileTransformResult(relationship = "success", contents = "Hello World", attributes = {"greeting", "hello"}) python 3.11 , java 21 and Apache nifi 2.0.0 M4
... View more