NiFi 常见错误提示

1、transfer relationship not specified

    当在Processor的onTrigger中添加好业务代码后,需要指定 Relationship,及数据将从哪个 Relationship流动,代码如下
session.transfer(flowFile, REL_SUCCESS);


    如果没有指定话,则会报transfer relationship not specified的错误提示。

2、为processor添加service时,报 No controller service types found that are applicable for this property.

    在processor所在的nar包中,MANIFEST.MF中未添加依赖的service
Nar-Dependency-Id: nifi-XXX-api-nar


猜你喜欢

转载自ouanui.iteye.com/blog/2358591