1
我试图让flowfile的属性在我的python脚本属性,我也做了以下内容:使用FlowFile在executeScript NIFI蟒蛇
class TransformCallback(StreamCallback):
def __init__(self):
pass
def process(self, inputStream, outputStream):
try:
# Read input FlowFile content
input_text = IOUtils.toString(inputStream, StandardCharsets.UTF_8)
input_obj = json.loads(input_text)
,但我怎么可以访问我的flowfile的进程属性方法 ?
第一个解决方案适用于我谢谢 – azelix