NiFi 常見錯誤提示

1、transfer relationship not specified

當在Processor的onTrigger中添加好業務代碼後,需要指定 Relationship,及數據將從哪個 Relationship流動,代碼如下
session.transfer(flowFile, REL_SUCCESS);


如果沒有指定話,則會報transfer relationship not specified的錯誤提示。

2、爲processor添加service時,報 [color=red]No controller service types found that are applicable for this property.[/color]

在processor所在的nar包中,MANIFEST.MF中未添加依賴的service
Nar-Dependency-Id: nifi-XXX-api-nar
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章