{"action":"created","issue":{"url":"https://api.github.com/repos/apache/nifi/issues/179","labels_url":"https://api.github.com/repos/apache/nifi/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/apache/nifi/issues/179/comments","events_url":"https://api.github.com/repos/apache/nifi/issues/179/events","html_url":"https://github.com/apache/nifi/pull/179","id":127559271,"number":179,"title":"NIFI-1273 Adding ListenRELP Processor","user":{"login":"bbende","id":605416,"avatar_url":"https://avatars.githubusercontent.com/u/605416?v=3","gravatar_id":"","url":"https://api.github.com/users/bbende","html_url":"https://github.com/bbende","followers_url":"https://api.github.com/users/bbende/followers","following_url":"https://api.github.com/users/bbende/following{/other_user}","gists_url":"https://api.github.com/users/bbende/gists{/gist_id}","starred_url":"https://api.github.com/users/bbende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbende/subscriptions","organizations_url":"https://api.github.com/users/bbende/orgs","repos_url":"https://api.github.com/users/bbende/repos","events_url":"https://api.github.com/users/bbende/events{/privacy}","received_events_url":"https://api.github.com/users/bbende/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-19T22:59:54Z","updated_at":"2016-01-21T21:26:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/179","html_url":"https://github.com/apache/nifi/pull/179","diff_url":"https://github.com/apache/nifi/pull/179.diff","patch_url":"https://github.com/apache/nifi/pull/179.patch"},"body":"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.\r\n\r\n## Overivew\r\n* 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.\r\n* 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.\r\n* ListenRELP extends AbstractListenEventProcessor\r\n\r\n## Testing\r\n\r\nI tested this against rsyslog 8.x putting the following in /etc/rsyslog.conf:\r\n    \r\n    module(load=\"omrelp\")\r\n    action(type=\"omrelp\" target=\"centralserv\" port=\"2514\")\r\n\r\nWith TLS:\r\n\r\n    action(type=\"omrelp\" target=\"192.168.233.153″ port=\"20514″ tls=\"on\"\r\n    tls.caCert=\"/home/test/cert/ca.pem\"\r\n    tls.myCert=\"/home/test/cert/ubuntu1-cert.pem\"\r\n    tls.myPrivKey=\"/home/test/cert/ubuntu1-key.pem\"\r\n    tls.authmode=\"name\"\r\n    tls.permittedpeer=[\"ubuntu-server\"]\r\n    )\r\n\r\nRELP Reference:\r\n\r\n    http://www.rsyslog.com/doc/relp.html\r\n    http://www.rsyslog.com/using-tls-with-relp/\r\n\r\nRELPFrameProducer 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."},"comment":{"url":"https://api.github.com/repos/apache/nifi/issues/comments/173712640","html_url":"https://github.com/apache/nifi/pull/179#issuecomment-173712640","issue_url":"https://api.github.com/repos/apache/nifi/issues/179","id":173712640,"user":{"login":"trkurc","id":3050642,"avatar_url":"https://avatars.githubusercontent.com/u/3050642?v=3","gravatar_id":"","url":"https://api.github.com/users/trkurc","html_url":"https://github.com/trkurc","followers_url":"https://api.github.com/users/trkurc/followers","following_url":"https://api.github.com/users/trkurc/following{/other_user}","gists_url":"https://api.github.com/users/trkurc/gists{/gist_id}","starred_url":"https://api.github.com/users/trkurc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trkurc/subscriptions","organizations_url":"https://api.github.com/users/trkurc/orgs","repos_url":"https://api.github.com/users/trkurc/repos","events_url":"https://api.github.com/users/trkurc/events{/privacy}","received_events_url":"https://api.github.com/users/trkurc/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T21:26:59Z","updated_at":"2016-01-21T21:26:59Z","body":"@mcgilman - I have been reviewing. I should be complete tonight. Haven't found any show stoppers yet."}}