You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/02 18:25:00 UTC

[jira] [Commented] (KARAF-5454) Collector socket - Add UDP protocol support

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

ASF GitHub Bot commented on KARAF-5454:
---------------------------------------

fpapon opened a new pull request #18: [KARAF-5454] - Collector socket - Add UDP protocol support
URL: https://github.com/apache/karaf-decanter/pull/18
 
 
   Improve the **collector-socket** adding compatibility with the UDP protocol.
   
   Use a **DatagramServer** instead of a **ServerSocket** for UDP.
   
   Changes :
   
   - Add a new properties in the collector cfg file to define the protocol :
       `#Protocol tcp(default) or udp`
       `#protocol=tcp`
   
   - Instanciate a DatagramServer in the case of udp protocol is define in the cfg
       class `org.apache.karaf.decanter.collector.socket.SocketCollector`
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Collector socket - Add UDP protocol support
> -------------------------------------------
>
>                 Key: KARAF-5454
>                 URL: https://issues.apache.org/jira/browse/KARAF-5454
>             Project: Karaf
>          Issue Type: Improvement
>          Components: decanter
>            Reporter: Francois Papon
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: decanter-1.5.0
>
>
> Syslog send data with the UDP protocol and actually, it doesn't work
> with the collector-socket version.
> We could use a DatagramServer instead of a ServerSocket for UDP.
> Modifications :
> - Add a new properties in the collector cfg file to define the protocol :
> # Protocol tcp(default) or udp
> #protocol=tcp
> - Instanciate a DatagramServer in the case of udp protocol is define in
> the cfg (org.apache.karaf.decanter.collector.socket.SocketCollector)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)