Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi: How to get the error generated at bulletin board for a specific flowfile.

Nifi: How to get the error generated at bulletin board for a specific flowfile.

New Contributor

I am trying to read the error from bulletin board using InvokeHttp processor for a specific flowfile. But i am not able to get the error which is generated for a flowfile as it gives either all errors or error belonging to a processGroup(using rest-api to get processGroup id at root canvas for remote url ). The error has sourceId (id of processor generating error) and group id (id of ProcessGroup where error generating processor is located).

 

How can we get the sourceId(highlighted below) and ProcessGroup id as attribute with flowfile?

id.PNG

 

Is there any other way to read only that error which is being generated on bulletin-board for specific flowfile ?

1 REPLY 1
Highlighted

Re: Nifi: How to get the error generated at bulletin board for a specific flowfile.

Master Guru

@MahipalRathore 

 

Rather then trying use the invokeHTTP processor trying to fetch bulletins as they happen, I suggest you use the SiteToSiteBulletinReportingTask to send bulletins as they occur to a remote input port on your NiFi or another NiFi setup fro monitoring.   You can then build a dataflow to filter and route the received bulletins as you desire.

SiteToSiteBulletinReportingTask
The Site-to-Site Bulletin Reporting Task allows the user to publish Bulletin events using the Site To Site protocol. Note: only up to 5 bulletins are stored per component and up to 10 bulletins at controller level for a duration of up to 5 minutes. If this reporting task is not scheduled frequently enough some bulletins may not be sent.

 

Thanks,

Matt

Don't have an account?
Coming from Hortonworks? Activate your account here