how to do error handling in Nifi Template

486 Views Asked by At

I am creating template in Nifi, and then importing them in Kylo. Each template is specific to my business usecase, and they consist of multiple (30+) Nifi processors.

for my unit testing and for some sanity, I am forwarding error relationship of each processor to separate logAttribute.

but when I am importing this template to Kylo, even when flow fails, Kylo doesn't treat it as error, as all errors are going to logArribute.

Now I can forward error relation of each processor within template to single logArribute. And then forward that flow to Kylo's error port.

Is this a right solution? if not, what other developers do? I am thinking, Nifi should have some sort of SINK processor where I am dump all my error relation.

Please comment.

Thanks,

0

There are 0 best solutions below