GitHub user bbende opened a pull request:

    https://github.com/apache/nifi/pull/179

    NIFI-1273 Adding ListenRELP Processor

    This pull request adds a ListenRELP processor which includes refactoring 
code that was previously part of ListenSyslog into a reusable framework for 
implementing listener processors, as well as back-end code for handling the 
RELP protocol.
    
    ## Overivew
    * The listen package in nifi-processor-utils contains the generic 
dispatcher/handler code along with an AbstractListenEventProcessor which is the 
base class for future processors that want to act as a server reading data off 
a channel.
    * The relp package in nifi-standard-processors contains the RELP specific 
implementations for the "listen" classes, along with other back-end code for 
the RELP protocol.
    * ListenRELP extends AbstractListenEventProcessor
    
    ## Testing
    
    I tested this against rsyslog 8.x putting the following in 
/etc/rsyslog.conf:
        
        module(load="omrelp")
        action(type="omrelp" target="centralserv" port="2514")
    
    With TLS:
    
        action(type="omrelp" target="192.168.233.153″ port="20514″ tls="on"
        tls.caCert="/home/test/cert/ca.pem"
        tls.myCert="/home/test/cert/ubuntu1-cert.pem"
        tls.myPrivKey="/home/test/cert/ubuntu1-key.pem"
        tls.authmode="name"
        tls.permittedpeer=["ubuntu-server"]
        )
    
    RELP Reference:
    
        http://www.rsyslog.com/doc/relp.html
        http://www.rsyslog.com/using-tls-with-relp/
    
    RELPFrameProducer in nifi-standard-processors 
src/test/java/org.apache.nifi.processors.standard.relp can also be used to act 
as an rsyslog server sending messages to ListenRELP.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bbende/nifi NIFI-1273

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/179.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #179
    
----
commit ed23c57d3a1f9c07f91f67d0ed42c10f91558f40
Author: Bryan Bende <bbe...@apache.org>
Date:   2016-01-05T22:41:33Z

    NIFI-1273 Adding ListenRELP processor which includes refactoring code that 
was previously part of ListenSyslog into a reusable framework for implementing 
listener processors, as well as back-end code for handling the RELP protocol.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to