[ 
https://issues.apache.org/jira/browse/NIFI-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085615#comment-15085615
 ] 

Bryan Bende commented on NIFI-1273:
-----------------------------------

I've started working on this and was going down the route of adding RELP as 
another protocol option in ListenSyslog, but there seems to be some significant 
differences with how RELP would be implemented and I am wondering if a 
different approach might work better. The main difference is that RELP requires 
two-way communication, so we need to send an acknowledgement back after we have 
successfully received the message. In addition, RELP itself is really agnostic 
of syslog, it just so happens that the main use case is putting syslog messages 
in the data portion of a RELP frame.

My current thinking is that it makes more sense to have a ListenRELP processor 
that is responsible for reading a RELP frame, producing a FlowFile where the 
content is the data portion of the RELP frame and the attributes contain the 
transaction id and whatever else, and then sends an acknowledgement back after 
we commit the session for this FlowFIle so it is guaranteed to be in our 
system. All of that being non-syslog specific, then the output of this 
processor could be sent to a ParseSyslog processor, if the RELP command was 
"syslog" and if parsing the message was desired.

I'm going to proceed down this route and see where it takes me, unless anyone 
has heartburn over this - [~joewitt] [~tkurc]. If I learn more and find out 
that putting it in ListenSyslog makes more sense then I will update here.

> Add support for RELP in ListenSyslog
> ------------------------------------
>
>                 Key: NIFI-1273
>                 URL: https://issues.apache.org/jira/browse/NIFI-1273
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Tony Kurc
>            Assignee: Bryan Bende
>            Priority: Minor
>             Fix For: 0.5.0
>
>
> Add support for listening for syslog events using The Reliable Event Logging 
> Protocol (RELP) [1]
> http://www.rsyslog.com/doc/relp.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to