Member since
07-02-2018
2
Posts
1
Kudos Received
0
Solutions
07-09-2018
06:18 PM
Thank you Bryan, the key for this requirement is a loggin problem, we have several LogMessage processors and we are looking for a central processor which handles all messages getting all the information possible; so siteToSiteReportingTask would be a great bet for us. Currently, the trouble we are facing is getting to know how to fetch the incoming connection name IE if a processor fails it will send a fail message through failure relationship, we want to know that record loggin is from that connection. I'm walking through ExecuteScript path I read this processor could get access for some private props like I'm looking for. What do you think about it? Thanks again.
... View more
07-02-2018
10:27 PM
1 Kudo
HI all, I'm working in a custom processor which has to handle log messages, each message has to include information such as the name of incoming connection i.e "try", "failure", "no retry" etc. as well as processor origin name, processor group name and so on. While I debugged nifi logMessage processor I got StandardRepositoryContext and StandardProcessSession classes which have private access for some properties that contains all information I'm needing. That classes are located at nifi-framework-core, but once I built my custom processor nar and nifi got started success my custom processor arose a CanntFindClassException. I know the reason is that nifi isolates all dependencies in a nar in order to avoid any conflict. If someone knows how to solve this trouble or a better solution please let me know. Regards.
... View more
Labels:
- Labels:
-
Apache NiFi